DC
Desk calculator
SYNTAX
dc
OPTIONS
-e EXPR
–expression=EXPR
Evaluate EXPR as DC commands.
-f FILE
–file=FILE
Read and evaluate DC commands from FILE.
-h
–help
Print a usage message summarizing the command-line options, then
exit.
-V
–version
Print the version information for this program, then exit.
To exit, use &qt;q&qt;&qt;.DESCRIPTION
The desk calculator works with postfix notation; rather like many HP Calculators.
Basic arithmetic uses the standard + – / * symbols but entered after the digits
so entering:
100
0.5
*
p
will return 50