We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
any other number like 17.33, 12.56, 74.55 work, it only happens with 17.99 ==> 17.89 any idea ?
The text was updated successfully, but these errors were encountered:
remove the Math.floor on line #112 and it worked.
Sorry, something went wrong.
I'm also getting issues with this. Examples: 18709.44 [converts to 18709.43], 2160.22 [converts to 2160.21], 2500.7 [converts to 2500.69]
If this code is used var number = util.toFloat(value).toFixed(2) it fails a unit test because 0.999 rounds up to 1.00
var number = util.toFloat(value).toFixed(2)
"formatAsCurrency should parse currencies from the view FAILED" Expected '1.00' to be '0.99'
No branches or pull requests
any other number like 17.33, 12.56, 74.55 work, it only happens with 17.99 ==> 17.89
any idea ?
The text was updated successfully, but these errors were encountered: