3 ms·
Do you mind me asking, what does the last calculation do: pi=(pi * 100 | 0 ) / 100; EDIT: Ah, nvm. It's truncating the result to 2 decimal places.
by blago 3y ago
Do you mind me asking, what does the last calculation do: pi=(pi * 100 | 0 ) / 100;
EDIT: Ah, nvm. It's truncating the result to 2 decimal places.
- unilynx 3y ago|0 There are just too many ways in JS to say Math.floor