Last updated
Was this helpful?
Last updated
Was this helpful?
The math functions make math operations and are available for components that support Double Braces expressions. To know how to provide information to the components using this resource, refer to .
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
The function is applied to return the absolute value of a number.
ABS(number)
Let's say you need the absolute value of the number in the example below:
The return of this function will be 34.0.
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
The function is applied to return the smallest (closer to the negative infinite), greater or equal number to the argument value and equal to a whole math number.
CEIL(number)
The return of this function will be 13.0.
By using Double Braces, you can combine the function with the ss to the input JSON element of a component.
The function is applied to divide a number by the other.
DIVIDE(numerator, denominator)
The return of this function will be 5.0.
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
The function is applied to divide a number by the other.
LOG(value, base)
The return of this function will be 3.0.
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
The function is applied to declare the greater value between two provided numbers.
MAX(num1, num2)
The return of this function will be 8.0.
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
The function is applied to declare the smallest value between two provided numbers.
MIN(num1, num2)
The return of this function will be 2.0.
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
The function is applied to return the rest of the division operation.
MOD(numerator, denominator)
The return of this function will be 0.0.
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
The function is applied to multiply n values.
MULTIPLY(num1, num2, ..., num)
The return of this function will be 16.0.
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
The function is applied to bring the exponential.
POW(num1, exp)
The return of this function will be 4.0.
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
The function is applied to return the closest number to the argument, with the ties rounded to the positive infinite.
ROUND(num1)
The return of this function will be 12.0.
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
The function is applied to extract the square root of the number.
SQRT(num1)
The return of this function will be 2.0.
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
The function is applied to subtract a number from another.
SUBTRACT(num1, num2)
The return of this function will be 8.0
By using Double Braces, you can combine the function with the access to the input JSON element of a component.
The function is applied to sum n values.
SUM(num1, num2, ..., num)
The return of this function will be 10.0.
Learn about math functions in the Digibee Integration Platform and how to use them.