Transformation Functions
Clip(x, min, max)
-
Description: Clip
xto the interval [min, max]. -
Number of parameters: 3
-
Parameter type: numerical, numerical, numerical
-
Result type: real
Round(x)
-
Description: Nearest integer less than or equal to
xif the fractional part is less than 1/2, nearest integer greater than or equal toxotherwise. -
Number of parameters: 1
-
Parameter type: numerical
-
Result type: real
RoundTo(x, n)
-
Description: Round
xtondigits after the decimal point (ifnis negative) or before the decimal point (ifnis positive). Whennis equal to 0, this function is identical toRound(x). -
Number of parameters: 2
-
Parameter type: numerical, integer
-
Result type: real
Sign(x)
-
Description: Returns -1, 0, or 1 depending on the sign of
x. -
Number of parameters: 1
-
Parameter type: numerical
-
Result type: integer