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
The output behind Example in RoundCeil, RoundDown, RoundFloor and RoundUp have a misstake in -1.454 part.
output
Example
-1.454
They should be:
NewFromFloat(-1.454).RoundCeil(1).String() // output: "-1.4" NewFromFloat(-1.454).RoundDown(1).String() // output: "-1.4" NewFromFloat(-1.454).RoundFloor(1).String() // output: "-1.5" NewFromFloat(-1.454).RoundUp(1).String() // output: "-1.5"
https://go.dev/play/p/GGSfqR_wBDl
The text was updated successfully, but these errors were encountered:
Thanks for the report! :3 This issue has been already fixed in #341
Sorry, something went wrong.
I guess documentation on pkg.go.dec will be automatically updated after next release :D
No branches or pull requests
The
output
behindExample
in RoundCeil, RoundDown, RoundFloor and RoundUp have a misstake in-1.454
part.They should be:
https://go.dev/play/p/GGSfqR_wBDl
The text was updated successfully, but these errors were encountered: