zlaunch
Modules

Calculator

Evaluate math expressions

The calculator module provides real-time math expression evaluation.

Calculator evaluating an expression

Usage

Type a math expression and see the result instantly. Press Enter to copy the result to clipboard.

Examples

ExpressionResult
2 + 24
sqrt(16)4
sin(pi/2)1
100 * 1.15115
2^101024
log(100)2

Supported Operations

OperatorDescription
+, -, *, /Basic operations
^ or **Exponentiation
%Modulo
( )Grouping
FunctionDescription
sqrt, cbrtSquare/cube root
sin, cos, tanTrigonometry
asin, acos, atanInverse trig
log, lnLogarithms (log is base 10)
abs, floor, ceil, roundRounding
expe^x
ConstantValue
piπ (3.14159...)
eEuler's number (2.71828...)

Unit Conversions

5 km to m          → 5000 m
100 F to C         → 37.78 °C
1 hour to seconds  → 3600 seconds

Result Formatting

Results are formatted with thousand separators for readability. When copying, the raw number (without formatting) is placed in your clipboard.

Invalid expressions show an error indicator. Common issues: division by zero, invalid function names, mismatched parentheses.

Mode Access

zlaunch show --modes calculator
# or
zlaunch show --modes calc

Tip: In combined mode, just start typing a math expression and the calculator result will appear automatically.

On this page