title: “MATH::ABS Function” author: “Pierre Laplante laplante@plcb.ca” date: “2023” version: “1.0.0” section: “1g”
math::abs returns the absolute value of the given parameter.
math::abs(parameter)
abs(parameter)
The math::abs
function returns the absolute value of the given parameter.
If multiple parameters are provided, the function returns an array containing the absolute values of each parameter.
res={{
abs(5); ",";
abs(5.1); ",";
abs(-5); ",";
abs(-5.1); ",";
abs("5"); ",";
abs("5.1"); ",";
abs("-5"); ",";
abs("-5.1");
}}.
return
res=5,5.1,5,5.1,5,5.1,5,5.1.
Pierre Laplante laplante@plcb.ca