LinuxCommandLibrary

qalc

TLDR

Calculate expression

$ qalc "[2 + 2]"
copy
Convert units
$ qalc "[5 kilometers to miles]"
copy
Interactive mode
$ qalc
copy
Currency conversion
$ qalc "[100 USD to EUR]"
copy
Scientific calculation
$ qalc "[sin(45 degrees)]"
copy

SYNOPSIS

qalc [options] [expression]

DESCRIPTION

qalc is powerful command-line calculator. Unit conversion and math.
The tool handles complex calculations. Supports physical units.
qalc calculates expressions.

PARAMETERS

EXPRESSION

Mathematical expression.
-t
Terse output.
-f FILE
Read from file.
-u MODE
Update exchange rates.

CAVEATS

Requires libqalculate. Supports currency exchange rates.

HISTORY

Qalculate was created as a multi-purpose calculator with unit support.

SEE ALSO

bc(1), calc(1), units(1)

Copied to clipboard