Dear Community,
I try to represent steps progress towards a goal on my watch face, and for that I need a percentage of achievement.
When I do steps/stepGoal I always get 0, no matter the values of the variables are - e.g. if steps==2500 and stepGoal==5000 should return 0.5, but I get 0.
I tried adding .toNumber(), but that didn't work.
Need to mention, I tried only on simulator so far.