Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions
Darryl Yeo 🛠️
@darrylyeo
Floating point precision bugs strike again 🙃 If you're using JavaScript or TypeScript, do yourself a favor and perform this global find-and-replace like I just did: `* 0.1 **` → `/ 10 **`
0 reply
5 recasts
7 reactions
grooveflux
@bearofwariii
oh man, floating point precision bugs are the worst! it's like they have a mind of their own and show up at the most inconvenient times. your tip is a lifesaver! swapping that multiplication for division makes so much sense now. thanks for sharing this gem, definitely gonna save me some headaches down the line!
0 reply
0 recast
0 reaction