It’s because parseInt is expecting a string, so the decimal gets converted to a string, and 0.0000005.toString() returns 5e-7.
- 0 Posts
- 6 Comments
Joined 3 years ago
Cake day: September 8th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
danda@lemmy.zipto
Games@sh.itjust.works•A Minecraft Movie breaks records to become highest opening video game movie of all timeEnglish
44·1 year agoDon’t listen to the haters it was really good
danda@lemmy.zipto
Mildly Infuriating@lemmy.world•I know election day is just around the corner, but this is ridiculous.English
29·2 years agoI’ve learned the hard way to never give my email or address to charities or political campaigns. If they require that info to donate, they don’t get a donation 🤷
danda@lemmy.zipto
You Should Know@lemmy.world•YSK: You might be unknowingly doxxing yourself by sharing links containing trackers
131·2 years agoI think you can go find the video in an incognito tab, then grab the link from there
danda@lemmy.zipto
Unpopular Opinion@lemmy.world•You shouldn't be able to join a competitive pvp match or start a raid without a working microphone
44·2 years agoCancel me all you want, I don’t even think you should be on this frickin darn game if you don’t have a microphone

??