Construct an OracleNumber from a JavaScript number or a string.
Static
eThe e constant.
Static
ln10The ln10 constant.
Static
piThe pi constant.
Static
zeroThe zero constant.
Computes the absolute value of the Oracle number
the absolute value of the Oracle number
Adds an Oracle number to another Oracle number
returns the sum of the two Oracle NUMBERs
the other Oracle number
Computes the arc cosine in radians of the Oracle number
the arc cosine in radians of the Oracle number
Computes the arc sine in radians of the Oracle number
the arc sine in radians of the Oracle number
Computes the arc tangent in radians of the Oracle number
the arc tangent in radians of the Oracle number
Computes the arc tangent of two Oracle numbers
the arc tangent of two Oracle numbers
Oracle number used for the calculation
Computes the ceiling of the Oracle number
the ceiling of the Oracle number
Compares two Oracle numbers
-1 if this < other 0 if this = other 1 if this > other
Computes the cosine of the Oracle number
the cosine
Divides two Oracle numbers
the result of the division as Oracle number
divisor
Checks if the Oracle number is equal to another Oracle number
true if both Oracle numbers are equal otherwise false
the other Oracle number
Raises e to the power of this Oracle number
the result of the exponentiation as Oracle number
Computes the floor of the number
the floor value of the Oracle number
Computes the hyperbolic cosine of the Oracle number
the hyperbolic cosine of the Oracle number
Computes the hyperbolic sine of the Oracle number
the hyperbolic sine of the Oracle number
Computes the hyperbolic tangent of the Oracle number
the hyperbolic tangent of the Oracle number
Computes the natural logarithm of the Oracle number
the natural logarithm of the Oracle number
Computes the logarithm to an arbitrary base
the logarithm to an arbitrary base
the base of the logarithm
Computes the modulus of two Oracle numbers.
this number modulo the other number
the other Oracle number
Multiplies the Oracle number with another Oracle number
the result of the multiplication as Oracle number
the other Oracle number
Negates the number
the negated Oracle number
Raises this Oracle number to the given exponent
the result of the exponentiation
Rounds the number to a specified number of digits
the rounded Oracle number
the number of digits
Rounds the Oracle number to a specified number of decimal places
the rounded Oracle number
the decimal place
Scale the digits to the left and right of the decimal point.
a new scaled Oracle number scaled according to the arguments
throws an exception if the number of left-hand-side digits is exceeded
maximum number of decimal digits to the left of the decimal point. it will not effect the number, but throw an exception if this value is exceeded.
maximum number of decimal digits to the right of the decimal point. The number is rounded at this point. Negative values are allowed.
Shift the number by the specified number of decimal places
an Oracle number containing the shifted result
number of decimal places to shift. It can be negative. Positive values shift the decimal place to the right and negative values to the left. For example, if NUMBER corresponds to 1234.5 and digits == -1, the new NUMBER object will correspond to 123.45.
Computes the sine of the Oracle number
the sine of the Oracle number
Computes the square root of the Oracle number
the square root of the Oracle number
Subtracts an Oracle number from the Oracle number and returns the resulting Oracle number
the result of the subtraction as OracleNumber
the other number to be subtracted from the OracleNumber
Computes the tangent of the Oracle number
the tangent of the Oracle number
Converts an Oracle NUMBER to a string, with an optional number format and NLS parameters. If no format string and NLS parameters are provided, the default values for the session are used.
the converted string
Optional
format: stringoptional number format
Optional
nlsParam: stringoptional NLS parameters
Truncate the number to the specified number of decimal places.
a truncated Oracle number
Number of decimal digits to the right of the decimal point at which to truncate. Negative values are allowed.
Static
fromConstruct an OracleNumber from a JavaScript number.
a new OracleNumber object
Static
fromParse a string into an OracleNumber, with an optional number format and NLS parameters. If no format string and NLS parameters are provided, the default values for the session are used.
OracleNumber value from parsing the input string
the number string
Optional
format: stringoptional number format
Optional
nlsParam: stringoptional NLS parameters
JavaScript API for Oracle type NUMBER.