-
Notifications
You must be signed in to change notification settings - Fork 867
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Round instead of Truncate while casting float to decimal (#3000)
* add .round() before casting to integer * add more test cases * update test cases * add doc * Format Co-authored-by: Raphael Taylor-Davies <[email protected]>
- Loading branch information
1 parent
24afac4
commit 61cf6f7
Showing
1 changed file
with
79 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters