ROUND | Rounds value to decimal places. Accepts complex |
| numbers. |
| ROUND(value, places) |
| Round can also round to a number of significant digits as |
| showed in example 2. |
| Examples |
| ROUND(7.8676,2) returns 7.68 |
| ROUND |
SIGN | Sign of value. If positive, the result is 1. If negative, |
| zero, result is zero. For a complex number, this is the unit |
| vector in the direction of the number. |
| SIGN(value) |
| SIGN((x, y)) |
| Examples |
| SIGN |
| SIGN((3,4)) returns (.6,.8) |
TRUNCATE | Truncates value to decimal places. Accepts complex |
| numbers. |
| TRUNCATE(value, places) |
| Example |
| TRUNCATE(2.3678,2) returns 2.36 |
XPON | Exponent of value. |
| XPON(value) |
| Example |
| XPON(123.4) returns 2 |
These are functions for use with
Using mathematical functions |