Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Float point precision #1524

Closed
be5invis opened this issue Aug 31, 2013 · 3 comments
Closed

Float point precision #1524

be5invis opened this issue Aug 31, 2013 · 3 comments

Comments

@be5invis
Copy link

Please don't generate values like 2.4000000000000004rem or 1.7999999999999998rem

@Soviut
Copy link

Soviut commented Aug 31, 2013

Some users may need this sort of precision. You can use math functions to round the values to fewer decimal places.

@be5invis
Copy link
Author

You can provide a command line option to round them.

@lukeapage
Copy link
Member

We should always round within JavaScript precision.. you would have to be
doing some crazy stuff to want more than 8 d.p's right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants