Click or drag to resize

Calc function

Calc function assigns the result of a mathematical expression to a variable

Syntax

Default syntax: [variable] = calc {expression}

//Calculate the square root of 2
[sq2] = calc sqrt(2)

//Calculate the sin of pi/2
[spi2] = calc sin(pi/2)

The calc function is provided with its own syntax and built-in functions: