Skip to content

minor, but anoing floating point error#22

Open
philister wants to merge 1 commit intopaymill:masterfrom
philister:master
Open

minor, but anoing floating point error#22
philister wants to merge 1 commit intopaymill:masterfrom
philister:master

Conversation

@philister
Copy link
Copy Markdown

Example:

parseInt('37.8' * 100)
< 3779

Math.round('37.8' * 100)
< 3780

Example:
> parseInt('37.8' * 100)
< 3779

> Math.round('37.8' * 100)
< 3780
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant