2024-07-25 02:39:16 +10:00
|
|
|
# qalc
|
|
|
|
|
|
|
|
> Powerful and easy to use command-line calculator.
|
|
|
|
> See also: `bc`.
|
|
|
|
> More information: <https://qalculate.github.io/manual/qalc.html>.
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- Launch in interactive mode:
|
2024-07-25 02:39:16 +10:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`qalc {{[-i|--interactive]}}`
|
2024-07-25 02:39:16 +10:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- Launch in terse mode (print the results only):
|
2024-07-25 02:39:16 +10:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`qalc {{[-t|--terse]}}`
|
2024-07-25 02:39:16 +10:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- Update currency exchange rates:
|
2024-07-25 02:39:16 +10:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`qalc {{[-e|--exrates]}}`
|
2024-07-25 02:39:16 +10:00
|
|
|
|
|
|
|
- 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}}`
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- Execute commands from a file:
|
2024-07-25 02:39:16 +10:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`qalc {{[-f|--file]}} {{path/to/file}}`
|