abs
relationalai.semantics.std.math
abs(value: NumberValue) -> ExpressionCompute the absolute value.
Parameters
(valueNumberValue) - The input value.
Returns
Expression- AnExpressioncomputing the absolute value of the input. ReturnsNumberif the input isNumber, orFloatif the input isFloat.
Examples
Compute absolute value:
select(math.abs(Transaction.amount))select(math.abs(Temperature.deviation + 1.0))