The Numeric Class
The Numeric class provides methods for working with numbers.
Values for this data type are limited to 15 significant digits.
Methods
Name | Description |
---|---|
|
Returns the absolute value of an int value. |
|
Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta). |
|
Returns the value converted to a byte. |
|
Returns the cube root of a double value. |
|
Returns the smallest (closest to negative infinity) double value that is greater than or equal to the value and is equal to a mathematical integer. |
|
Returns the trigonometric cosine of an angle. |
|
Returns the hyperbolic cosine of a double value. |
|
Returns Euler's number e raised to the power of a double value. |
|
Returns the largest (closest to positive infinity) double value that is less than or equal to the value and is equal to a mathematical integer. |
|
Converts the numeric value to a string representation defined by a format string. |
|
Returns the unbiased exponent used in the representation of a float. |
|
Returns the value converted to an integer (signed 32 bit). |
|
Returns TRUE if the value has infinite value. |
|
Returns TRUE if the value is not a number. |
|
Returns TRUE if the object is tagged as null, otherwise FALSE. This is the case for null valued input variables read from the input stream. |
|
Returns the natural logarithm (base e) of a double value. |
|
Returns the base 10 logarithm of a double value. |
|
Returns the greater of two int values. |
|
Returns the smaller of two int values. |
|
Returns the double (floating-point) value that is closest in value to the value and is equal to a mathematical integer. |
|
Returns the closest int to the value. |
|
Returns the signum function of the value; zero if the value is zero, 1.0 if the value is greater than zero, -1.0 if the value is less than zero. |
|
Returns the trigonometric sine of an angle. |
|
Returns the hyperbolic sine of a double value. |
|
Returns the correctly rounded positive square root of a double value. |
|
Returns the trigonometric tangent of an angle. |
|
Returns the hyperbolic tangent of a double value. |
|
Returns FALSE when the value is 0. Returns TRUE for any other value. |
|
Returns the unicode character representation of a numeric value. |
|
Returns a color object. The value is interpreted as a RGB integer. |
|
Converts the value from radians to degrees. |
|
Converts the value from degrees to radians. |
|
Converts the value to a string representation. |
|
Returns the current page number of the physical page. |
|
Returns the total number of physical pages. |
|
Returns the page number of the specified page. |
|
Returns the total number of pages for the specified page. |
Usage
Important: This data type is limited to 15 significant digits.
With RTL classes, it is not possible to create and subclass objects. The
new
keyword is not supported.