ABS
Returns the absolute (positive) value of the specified numeric expression.
Syntax
Parameters
- numeric_expression The expression of an indeterminate numeric data type except for the bit data type.
Examples
ACOS
Returns the arc cosine, the angle in radians whose cosine is the specified float expression.
Syntax
Parameters
- float_expression The float expression that specifies the cosine of the angle to be returned. Values outside the range from -1 to 1 return null.
Examples
ASIN
Returns the arc sine, the angle in radians whose sine is the specified float expression.
Syntax
Parameters
- float_expression The float expression that specifies the sine of the angle to be returned. Values outside the range from -1 to 1 return null.
Examples
ATAN
Returns the arc tangent, the angle in radians whose tangent is the specified float expression.
Syntax
Parameters
- float_expression The float expression that specifies the tangent of the angle to be returned.
Examples
ATN2
Returns the angle in radians between the positive x-axis and the ray from the origin to the point (y, x) where x and y are the values of the two specified float expressions.
Syntax
Parameters
- float_expression1 The float expression that is the y-coordinate.
- float_expression2 The float expression that is the x-coordinate.
Examples
CEILING
Returns the smallest integer greater than or equal to the specified numeric expression.
Syntax
Parameters
- numeric_expression The expression of an indeterminate numeric data type except for the bit data type.
Examples
COS
Returns the trigonometric cosine of the specified angle in radians in the specified expression.
Syntax
Parameters
- float_expression The float expression of the specified angle in radians.
Examples
COT
Returns the trigonometric cotangent of the angle in radians specified by float_expression.
Syntax
Parameters
- float_expression The float expression of the angle in radians.
Examples
DEGREES
Returns the angle in degrees for the angle specified in radians.
Syntax
Parameters
- numeric_expression The angle in radians, an expression of an indeterminate numeric data type except for the bit data type.
Examples
EXP
Returns the exponential value of the specified float expression. For example, EXP(LOG(20)) is 20.
Syntax
Parameters
- float_expression The float expression.
Examples
EXPR
Evaluates the expression.
Syntax
Parameters
- expression The expression. Operators allowed are
+, -, \*, /, ==, !=, >, <, >=, and <=.
Examples
FLOOR
Returns the largest integer less than or equal to the numeric expression.
Syntax
Parameters
- numeric_expression The expression of an indeterminate numeric data type except for the bit data type.
Examples
GREATEST
Returns the greatest of the supplied integers.
Syntax
Examples
HEX
Returns a the equivalent hex for the input value.
Syntax
Parameters
- value: A string or numerical value to be converted into hex.
Examples
LEAST
Returns the least of the supplied integers.
Examples
LOG
Returns the natural logarithm of the specified float expression.
Syntax
Parameters
- float_expression The float expression.
- base The optional integer argument that sets the base for the logarithm.
Examples
LOG10
Returns the base-10 logarithm of the specified float expression.
Syntax
Parameters
- float_expression The expression of type float.
Examples
MOD
Returns the integer value associated with the remainder when dividing the dividend by the divisor.
Syntax
Parameters
- dividend The number to take the modulus of.
- divisor The number to divide the dividend by when determining the modulus.
Examples
NEGATE
Returns the opposite to the real number input.
Syntax
Parameters
- real_number The real number to find the opposite of.
Examples
Returns the constant value of pi.
Syntax
Examples
POWER
Returns the value of the specified expression raised to the specified power.
Syntax
Parameters
- float_expression The float expression.
- y The power to raise float_expression to.
Examples
RADIANS
Returns the angle in radians of the angle in degrees.
Syntax
Parameters
- float_expression The degrees of the angle as a float expression.
Examples
RAND
Returns a pseudorandom float value from 0 through 1, exclusive.
Syntax
Parameters
- seed The optional integer expression that specifies the seed value. If seed is not specified, a seed value at random will be assigned.
Examples
ROUND
Returns the numeric value rounded to the specified length or precision.
Syntax
Parameters
- numeric_expression The expression of a numeric data type.
- length The optional precision to round the numeric expression to. When this is omitted, the default behavior will be to round to the nearest whole number.
- function The optional type of operation to perform. When the function parameter is omitted or has a value of 0 (default), numeric_expression is rounded. When a value other than 0 is specified, numeric_expression is truncated.
Examples
SIGN
Returns the positive sign (1), 0, or negative sign (-1) of the specified expression.
Syntax
Parameters
- numeric_expression The expression of an indeterminate data type except for the bit data type.
Examples
SIN
Returns the trigonometric sine of the angle in radians.
Syntax
Parameters
- float_expression The float expression specifying the angle in radians.
Examples
SQRT
Returns the square root of the specified float value.
Syntax
Parameters
- float_expression The expression of type float.
Examples
SQUARE
Returns the square of the specified float value.
Syntax
Parameters
- float_expression The expression of type float.
Examples
TAN
Returns the tangent of the input expression.
Syntax
Parameters
- float_expression The expression of type float.
Examples
TRUNC
Returns the supplied decimal number truncated to have the supplied decimal precision.
Syntax
Parameters
- decimal_number The decimal value to truncate.
- precision The number of decimal places to truncate the decimal number to.
Examples
Last modified on June 29, 2026