nushell/crates/nu-command/tests
juanPabloMiceli 7fb48b9a2f
Fix negative precision round with ints (issue #9049) (#9073)
# 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.
2023-05-03 23:07:32 +02:00
..
commands Fix negative precision round with ints (issue #9049) (#9073) 2023-05-03 23:07:32 +02:00
format_conversions Remove proptests for nuon writing/parsing (#8688) 2023-03-31 17:15:16 +02:00
main.rs Reuse the cached parse results of parsed files (#8949) 2023-04-22 07:00:33 +12:00