You are viewing content for 5.1 | 5.0 | 4.9 | 4.8 | 4.7 | 4.6 | 4.5 | 4.4 | 4.3 | Previous Releases


Arithmetic Functions

Function Syntax Description
abs() abs(double expr x) Returns the absolute value of a double expression
ceil() ceil(double expr x) Returns the smallest of two numeric scalars
floor() floor(double expr x) Returns the largest integer less than or equal to its argument
max() max(double expr x, double expr y) Returns the larger of two doubles
mod() mod(double dividend, double divisor) Returns the modulus (remainder) resulting from the division of one double by another
min() min(double expr x, double expr _y_) Returns the larger of two doubles
rnd() rnd() Returns a random number between 0 and 1
round() round(double expr x) Returns the closest integer to its floating point argument
exp() exp(double expr x) Returns e raised to the power x
sqrt() sqrt(double expr x) Returns the square root of x
trunc() trunc(double expr x) Returns the whole number portion of x

Related Links
© Incorta, Inc. All Rights Reserved.