Instructions

295 C-Control Pro IDE
© 2013 Conrad Electronic
The logarithm base 10 is calculated.
Parameter
val input value
Return Parameter
result
5.16.1.13 pow
Floating Point Functions
Syntax
float pow(float x, float y);
Sub pow(x As Single, y As Single) As Single
Description
The power function x ^ y is calculated.
Parameter
x base
y exponent
Return Parameter
result
5.16.1.14 round
Floating Point Functions
Syntax
float round(float val);
Sub round(val As Single) As Single
Description
Rounding function. The floating point value is rounded up or down to a number without decimal places.
Parameter
val input value
Return Parameter