1
0
Fork 0
arangodb/Documentation/Books/AQL/Functions/Numeric.mdpp

19 lines
552 B
Plaintext

!CHAPTER Numeric functions
AQL offers some numeric functions for calculations. The following functions are
supported:
- *FLOOR(value)*: Returns the integer closest but not greater to *value*
- *CEIL(value)*: Returns the integer closest but not less than *value*
- *ROUND(value)*: Returns the integer closest to *value*
- *ABS(value)*: Returns the absolute part of *value*
- *SQRT(value)*: Returns the square root of *value*
- *POW(base, exp)*: Returns the *base* to the exponent *exp*
- *RAND()*: Returns a pseudo-random number between 0 and 1