-
Notifications
You must be signed in to change notification settings - Fork 610
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
RoundFloor & RoundCeil example on pkg.go.dev seems Wrong #347
Comments
Hi! This issue has been already fixed on the main branch. I have to create a new release so documentation will be updated on pkg;.go.dev. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
decimal.NewFromFloat(-1.454).RoundFloor(1).String() -> output would be "-1.5"
decimal.NewFromFloat(-1.454).RoundCeil(1).String() -> output would be "-1.4"
The text was updated successfully, but these errors were encountered: