Can't pass negative float as CLI argument #12691
Labels
🐛 bug
Something isn't working
inconsistent-behavior
Behavior between different commands or types inconsistent/unexpected
needs-design
this feature requires design
scripting
Related to writing scripts
Describe the bug
See more info in discussion link.
Discussed in #12473
Originally posted by wdv4758h April 11, 2024
This works:
This does not work:
Having a .nu script file, and call that script with arguments. Not the case defining function in current nushell and call it.
For some reasons, int argument is ok, but float argument is not.
How to reproduce
Write a nu script file with float as argument. Call it from CLI with negative float arguments.
Expected behavior
Have a good way to pass negative float from CLI, like int.
Screenshots
No response
Configuration
Additional context
No response
The text was updated successfully, but these errors were encountered: