mirror of
https://github.com/nushell/nushell
synced 2024-12-27 21:43:09 +00:00
7fb48b9a2f
# Description Before this PR, `math round` ignores the input if it's an `int`. This results in the following behaviour: ``` > 123 | math round --precision -1 123 ``` When the correct result is 120. Now `int values` are converted to `float values` before actually rounding up the number in order to take advantage of the float implementation. Fixes #9049. |
||
---|---|---|
.. | ||
commands | ||
format_conversions | ||
main.rs |