beautypg.com

Floor function, Floor( a ) – Delta RMC151 User Manual

Page 371

background image

5 Programming

you will need to spread the code over several steps, in which case the variable i needs to

be defined in the Variable Table, not locally in the step.

Copyable Text for the Expression Above:
FILL(MyArray,FillValue,MIN(LENGTH(MyArray),32));
i:=32;
IF LENGTH(MyArray) > i THEN

FILL(MyArray[i],FillValue,MIN(LENGTH(MyArray)-i,32));

END_IF;
i:=i+32;
IF LENGTH(MyArray) > i THEN

FILL(MyArray[i],FillValue,MIN(LENGTH(MyArray)-i,32));

END_IF;
i:=i+32;
IF LENGTH(MyArray) > i THEN

FILL(MyArray[i],FillValue,MIN(LENGTH(MyArray)-i,32));

END_IF;


5.14.2.21. FLOOR Function

FLOOR (a)
Rounds a to the next lesser (most negative) integer.

Parameters

a (REAL)
The input value.

Return Value

Returns a REAL.

Examples

deltamotion.com

351

This manual is related to the following products: