NetSuite Data Provider - Online Help
NetSuite Data Provider
Questions / Feedback?

MATH Functions

ABS ( numeric_expression )

Returns the absolute (positive) value of the specified numeric expression.
  • numeric_expression: The expression of an indeterminate numeric data type except for the bit data type.

ACOS ( float_expression )

Returns the arc cosine, the angle in radians whose cosine is the specified float expression.
  • 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.

ASIN ( float_expression )

Returns the arc sine, the angle in radians whose sine is the specified float expression.
  • 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.

ATAN ( float_expression )

Returns the arc tangent, the angle in radians whose tangent is the specified float expression.
  • float_expression: The float expression that specifies the tangent of the angle to be returned.

ATN2 ( float_expression1 , float_expression2 )

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.
  • float_expression1: The float expression that is the y-coordinate.
  • float_expression2: The float expression that is the x-coordinate.

CEILING ( numeric_expression )

Returns the smallest integer greater than or equal to the specified numeric expression.
  • numeric_expression: The expression of an indeterminate numeric data type except for the bit data type.

COS ( float_expression )

Returns the trigonometric cosine of the specified angle in radians in the specified expression.
  • float_expression: The float expression of the specified angle in radians.

COT ( float_expression )

Returns the trigonometric cotangent of the angle in radians specified by float_expression.
  • float_expression: The float expression of the angle in radians.

DEGREES ( numeric_expression )

Returns the angle in degrees for the angle specified in radians.
  • numeric_expression: The angle in radians, an expression of an indeterminate numeric data type except for the bit data type.

EXP ( float_expression )

Returns the exponential value of the specified float expression. For example, EXP(LOG(20)) is 20.
  • float_expression: The float expression.

EXPR ( expression )

Evaluates the expression.
  • expression: The expression. Operators allowed are +, -, *, /, ==, !=, >, <, >=, and <=.

FLOOR ( numeric_expression )

Returns the largest integer less than or equal to the numeric expression.
  • numeric_expression: The expression of an indeterminate numeric data type except for the bit data type.

LOG ( float_expression [, base ] )

Returns the natural logarithm of the specified float expression.
  • float_expression: The float expression.
  • base: The optional integer argument that sets the base for the logarithm.

LOG10 ( float_expression )

Returns the base-10 logarithm of the specified float expression.
  • float_expression: The expression of type float.

PI ( )

Returns the constant value of pi.

POWER ( float_expression , y )

Returns the value of the specified expression raised to the specified power.
  • float_expression: The float expression.
  • y: The power to raise float_expression to.

RADIANS ( float_expression )

Returns the angle in radians of the angle in degrees.
  • float_expression: The degrees of the angle as a float expression.

RAND ( [ seed ] )

Returns a pseudorandom float value from 0 through 1, exclusive.
  • seed: The optional integer expression that specifies the seed value. If seed is not specified, a seed value at random will be assigned.

ROUND ( numeric_expression , length [ ,function ] )

Returns the numeric value rounded to the specified length or precision.
  • numeric_expression: The expression of a numeric data type.
  • length: The precision to round the numeric expression to.
  • function: 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.

SIGN ( numeric_expression )

Returns the positive sign (1), 0, or negative sign (-1) of the specified expression.
  • numeric_expression: The expression of an indeterminate data type except for the bit data type.

SIN ( float_expression )

Returns the trigonometric sine of the angle in radians.
  • float_expression: The float expression specifying the angle in radians.

SQRT ( float_expression )

Returns the square root of the specified float value.
  • float_expression: The expression of type float.

SQUARE ( float_expression )

Returns the square of the specified float value.
  • float_expression: The expression of type float.

TAN ( float_expression )

Returns the tangent of the input expression.
  • float_expression: The expression of type float.

 
 
Copyright (c) 2015 RSSBus, Inc. - All rights reserved.
Build 1.0.5578.0