Mathematische Ausdrücke

In some dialog boxes (e.g., coordinate-edition, emission-edition, printer setup, legend/title-block edition), it is possible to use mathematical expressions. The following table presents the supported constants, functions, operators, etc.

supported constants, functions, operators, etc. examples / comments
integer and real numbers 200, 200.0, 2e2
constant pi approximate value of mathematical expression
context-specific symbols (usually prefixed with $) $z usually represents the Z-coordinate
elementary arithmetic operations 2*2-8/2*(1+3)
energetic addition and subtraction (+' and -') 100+'100 yields approx. 103
exponentiation 2^3 yields 8; 2**3 yields 8 too; sqrt(4) yields 2
exponential and logarithmic functions exp(2), log(10), ln(2.718)
trigonometric functions sin(pi/2) yields 1
rounding functions round(2.5) yields 3; trunc(2.5) yields 2
absolute-value and sign functions abs(-3) yields 3; sign(-3) yields -1
maximum and minimum functions max(2,5) yields 5
a degree symbol after a number converts it to degrees (multiplies it with pi/180) cos(60°) yields 0.5