diff --git a/pages/querying/functions.mdx b/pages/querying/functions.mdx index b230767ca..c92468ed8 100644 --- a/pages/querying/functions.mdx +++ b/pages/querying/functions.mdx @@ -134,16 +134,16 @@ This section contains the list of supported functions. | `asin` | `asin(number: integer\|float) -> (float)` | Calculates the arcsine of a number between -1 and 1 in radians. | | `atan` | `atan(number: integer\|float) -> (float)` | Calculates the arctangent of a given number in radians. | | `atan2` | `atan2(y: integer\|float, x: integer\|float) -> (float)` | Calculates a unique arctangent value from a set of coordinates in radians. | - | `ceil` | `ceil(number: float) -> (integer)` | Returns the smallest integer greater than or equal to the given float number. | + | `ceil` | `ceil(number: integer\|float) -> (float)` | Returns the smallest integer greater than or equal to the given float number. | | `cos` | `cos(number: integer\|float) -> (float)` | Calculates the cosine of an angle specified in radians. | | `e` | `e() -> (float)` | Returns the base of the natural logarithm (2.71828).. | | `exp` | `exp(number: integer\|float) -> (float)` | Calculates `e^n` where `e` is the base of the natural logarithm, and `n` is the given number. | - | `floor` | `floor(number: float) -> (integer)` | Returns the largest integer smaller than or equal to the given float number. | + | `floor` | `floor(number: integer\|float) -> (float)` | Returns the largest integer smaller than or equal to the given float number. | | `log` | `log(number: integer\|float) -> (float)` | Calculates the natural logarithm of a given number. | | `log10` | `log10(number: integer\|float) -> (float)` | Calculates the logarithm (base 10) of a given number. | | `pi` | `pi() -> (float)` | Returns the constant *pi* (3.14159). | | `rand` | `rand() -> (float)` | Returns a random floating point number between 0 (inclusive) and 1 (exclusive). | - | `round` | `round(number: float) -> (integer)` | Returns the number, rounded to the nearest integer. Tie-breaking is done using the *commercial rounding*, where -1.5 produces -2 and 1.5 produces 2. | + | `round` | `round(number: integer\|float) -> (float)` | Returns the number, rounded to the nearest integer. Tie-breaking is done using the *commercial rounding*, where -1.5 produces -2 and 1.5 produces 2. | | `sign` | `sign(number: integer\| float) -> (integer)` | Applies the signum function to a given number and returns the result. The signum of positive numbers is 1, of negative -1 and for 0 returns 0. | | `sin` | `sin(number: integer\|float) -> (float)` | Calculates the sine of an angle specified in radians. | | `sqrt` | `sqrt(number: integer\|float) -> (float)` | Calculates the square root of a given number. |