You are on page 1of 1

Example ret = EXP(1) -- ret is 2.

718 FLOOR (All) Usage Calculate the


largest integer that is not greater than the input value Syntax ret =
FLOOR(a) Input Parameter Type Name Description a number Value to be
calculated Value to be calculated Output Parameter Type Name
Description ret number Calculated value Calculated value Example ret
= FLOOR(1.543) -- ret is 1 13 FMOD (All) Usage Calculate the
remainder of the input values Syntax ret = FMOD(a,b) Input Parameter
Type Name Description a number Numerator Numerator of value to be
calculated b number Denominator Denominator of value to be calculated
Output Parameter Type Name Description ret number Calculated value
Calculated value Example ret = FMOD(2,3) -- ret is 2 LOG10 (All)
Usage Calculate the logarithm base 10 of the input value Syntax ret =
LOG10(a) Input Parameter Type Name Description a number Value to be
calculated Value to be calculated Output Parameter Type Name
Description ret number Calculated value Calculated value Example ret
= LOG10(100) -- ret is 2 LOG (All) Usage Calculate the logarithm base
e as of the input value Syntax ret = LOG(a) Input Parameter Type Name
Description a number Value to be calculated Value to be calculated
Output Parameter Type Name Description ret number Calculated value
Calculated value Example ret = LOG(10) -- ret is 2.302 MAX (All)
Usage Find the maximum value in input list 14 Syntax ret = MAX(…)
Input Parameter Type Name Description … number Value to be
calculated Value to be calculated; any value can be input for
calculation Output Parameter Type Name Description ret number
Calculated value Calculated value Example ret = MAX(11,22,25,99,7,9)
-- ret is 99 MIN (All) Usage Get the minimum value in the input list
Syntax ret = MIN(…) Input Parameter Type Name Description … number
Value to be calculated Value to be calculated; can input any value
for calculation Output Parameter Type Name Description ret number
Calculated value Calculated value

You might also like