-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix bug when using multipleOf values with decimal places * Allow resetting multipleOf back to null * Add tests for multipleOf bugs * Fix incorrect formatting of multipleOf in error message - `%d` casts the multipleOf to a whole number even if its a float with decimals - `%f` would add unnecessary decimals, e.g. `0.01` would become `0.010000` - `%s` maintains the same number of decimals, e.g. `0.01` stays `0.01` --------- Co-authored-by: bertramakers <[email protected]>
- Loading branch information
1 parent
e913512
commit cc41c28
Showing
2 changed files
with
27 additions
and
3 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
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