Math extension provides basic mathematical functions such as calculating absolute value, sin, cos, tan, base conversion, parsing, etc. Usage of math extension in a query is as follows.
FROM inputStream SELECT id, math:abs(3) as absoluteValue INSERT INTO outputStream;
Following Following are the functions of the Math extension.
|Table of Contents|
Absolute Value Function
|Description||Returns the absolute value of |
Both the following queries return 3 since the absolute value of both