The following table lists all of the SQL arithmetic operators and functions supported by EBX®, along with their standard SQL syntax. Some functions can have optional parameters: they are surrounded by square brackets.
| Operator syntax | Description and example(s) | 
|---|---|
| + numeric | Returns numeric 
 | 
| - numeric | Returns numeric 
 | 
| numeric1 + numeric2 | Returns numeric1 plus numeric2 
 | 
| numeric1 - numeric2 | Returns numeric1 minus numeric2 
 | 
| numeric1 * numeric2 | Returns numeric1 multiplied by numeric2 
 | 
| numeric1 / numeric2 | Returns numeric1 divided by numeric2 
 | 
| ABS(numeric) | Returns the absolute value of numeric 
 | 
| ACOS(numeric) | Returns the arc cosine of numeric 
 | 
| ASIN(numeric) | Returns the arc sine of numeric 
 | 
| ATAN(numeric) | Returns the arc tangent of numeric 
 | 
| ATAN2(numeric, numeric) | Returns the arc tangent of the numeric coordinates 
 | 
| CEIL(numeric) | Rounds numeric up, and returns the smallest number that is greater than or equal to numeric 
 | 
| CEILING(numeric) | Rounds numeric up, and returns the smallest number that is greater than or equal to numeric 
 | 
| COS(numeric) | Returns the cosine of numeric 
 | 
| COT(numeric) | Returns the cotangent of numeric 
 | 
| DEGREES(numeric) | Converts numeric from radians to degrees 
 | 
| EXP(numeric) | Returns e raised to the power of numeric 
 | 
| FLOOR(numeric) | Rounds numeric down, and returns the largest number that is less than or equal to numeric 
 | 
| LN(numeric) | Returns the natural logarithm (base e) of numeric 
 | 
| LOG10(numeric) | Returns the base-10 logarithm of numeric 
 | 
| MOD(numeric1, numeric2) | Returns the remainder (modulus) of numeric1 divided by numeric2. The result is negative only if numeric1 is negative 
 | 
| POWER(numeric1, numeric) | Returns numeric1 raised to the power of numeric2 
 | 
| RADIANS(numeric) | Converts numeric from degrees to radians 
 | 
| RAND([seed]) | Returns a random double using numeric as the seed value if specified 
 | 
| RAND_INTEGER([seed,] numeric) | Generates a random integer between 0 and numeric - 1 inclusive, initializing the random number generator with seed if specified 
 
 | 
| ROUND(numeric1, numeric2) | Rounds numeric1 to numeric2 places right to the decimal point 
 | 
| SIGN(numeric) | Returns the signum of numeric 
 | 
| SIN(numeric) | Returns the sine of numeric 
 | 
| SQRT(numeric) | Returns the square root of numeric 
 | 
| TAN(numeric) | Returns the tangent of numeric 
 | 
| TRUNCATE(numeric1[, numeric2]) | Truncates numeric1 to 0 (if no numeric2 specified) places right to the decimal point 
 
 |