mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 14:51:13 -03:00
@@ -29,6 +29,11 @@ When in doubt, use parentheses.
|
||||
``math`` ignores whitespace between arguments and takes its input as multiple arguments (internally joined with a space), so ``math 2 +2`` and ``math "2 + 2"`` work the same.
|
||||
``math 2 2`` is an error.
|
||||
|
||||
.. note::
|
||||
|
||||
math is a simple tool for simple uses, provided for convenience. It internally works with floats for simplicity of implementation and can't do a number of things real calculators can.
|
||||
If you find yourself limited by that, use a more full-featured tool.
|
||||
|
||||
The following options are available:
|
||||
|
||||
**-s** *N* or **--scale** *N*
|
||||
|
||||
Reference in New Issue
Block a user