mirror of
https://github.com/nushell/nushell.git
synced 2024-11-23 08:53:29 +01: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 |