1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-16 11:35:24 +02:00
tldr/pages/common/qalc.md
Managor 23340cc6e0
common/*: reduce usage of "command-line" (part 1) (#16949)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2025-06-29 11:48:18 +03:00

647 B

qalc

Powerful and easy to use calculator. See also: bc. More information: https://qalculate.github.io/manual/qalc.html.

  • Launch in interactive mode:

qalc {{[-i|--interactive]}}

  • Launch in terse mode (print the results only):

qalc {{[-t|--terse]}}

  • Update currency exchange rates:

qalc {{[-e|--exrates]}}

  • Perform calculations non-interactively:

qalc {{66+99|2^4|6 feet to cm|1 bitcoin to USD|20 kmph to mph|...}}

  • List all supported functions/prefixes/units/variables:

qalc --{{list-functions|list-prefixes|list-units|list-variables}}

  • Execute commands from a file:

qalc {{[-f|--file]}} {{path/to/file}}