Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Javascript Math libary weird behaviour

ANSWERED

I want to get a random number within my Fitbit app with Math.random(). Every time I run the app the first number I get back is 0.0012512207019596388. Does someone have different behaviour with the Math libary?

Best Answer
1 BEST ANSWER

Accepted Solutions

Found the problem. It is just for the simulator.

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

Found the problem. It is just for the simulator.

Best Answer
0 Votes