DEV Community

Discussion on: Mac OS for the Web!

Collapse
lod61 profile image
louis

Hi, Try this.

parseFloat((0.1 + 0.2).toFixed(10))
Enter fullscreen mode Exit fullscreen mode
Collapse
blackr1234 profile image
blackr1234

This works too!

Some comments have been hidden by the post's author - find out more