Returns integer numeric value closest from below.
Syntax:
1 |
floor(var,digits) |
“digits” is optional. It is the number of digits after decimal point.
Returns integer numeric value closest from below.
Syntax:
1 |
floor(var,digits) |
“digits” is optional. It is the number of digits after decimal point.
This function is not listed in the help on Math functions in probuilder list of math functions in 10.3. it seems to be new to Probuilder v11.
In 10.3, for a positive number, you can use :
Round(x – 0.5) instead
Right, this is a newly introduced instruction in prorealtime version 11.