This document describes several mathematical functions including EXP, FLOOR, FMOD, LOG10, LOG, MAX, and MIN. EXP calculates e to the power of the input value. FLOOR returns the largest integer that is not greater than the input. FMOD returns the remainder of dividing the first input by the second. LOG10 and LOG calculate the logarithm base 10 and base e of the input value, respectively. MAX and MIN return the maximum and minimum value from the input list.
This document describes several mathematical functions including EXP, FLOOR, FMOD, LOG10, LOG, MAX, and MIN. EXP calculates e to the power of the input value. FLOOR returns the largest integer that is not greater than the input. FMOD returns the remainder of dividing the first input by the second. LOG10 and LOG calculate the logarithm base 10 and base e of the input value, respectively. MAX and MIN return the maximum and minimum value from the input list.
This document describes several mathematical functions including EXP, FLOOR, FMOD, LOG10, LOG, MAX, and MIN. EXP calculates e to the power of the input value. FLOOR returns the largest integer that is not greater than the input. FMOD returns the remainder of dividing the first input by the second. LOG10 and LOG calculate the logarithm base 10 and base e of the input value, respectively. MAX and MIN return the maximum and minimum value from the input list.
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