Numeric Operations
Numeric operation commands deal with the arithmetic, algebraic, and trigonometric manipulation of numbers.
Operator | Description |
---|---|
Abs() | Returns the absolute (unsigned) numeric value of a real number. |
ATan() | Returns the arctangent of an angle. |
Cos() | Returns the cosine of an angle. |
Exp() | Returns the result of base e raised to the power of an expression. |
InitRnd statement | Establishes a seed value for the Rnd function. |
Int() | Returns the integer portion of a number. |
Ln() | Returns the natural logarithm of a number. |
Mod() | Returns the modulo (remainder) of the division of two numbers. |
Neg() | Returns the inverse of a specified number. |
Num() | Returns true (1) if the expression is a number or a numeric string. Otherwise, returns 0. |
Pwr() | Returns the value of a number raised to a specified power. |
Rem() | Synonym for Mod(). |
Rnd() | Returns a randomly generated number. |
Sin() | Returns the sine of an angle. |
Sqrt() | Returns the square root of a positive number. |
Tan() | Returns the tangent of an angle in degrees. |