calc(1) - LynxBot manual
NAME
calc - perform basic calculations
SYNOPSIS
$calc EXPR
DESCRIPTION
calc evaluates the mathematical expression given by EXPR and prints the result.
EXPR can contain numbers, parentheses and the mathematical operators +, -, *, / and ^.
OPTIONS
- --help
- print brief description and usage information
EXAMPLES
Evaluates the expression:
$calc (4 + 7) ^ (3 / 2) * (-1.5)