Navigation :
abs
abs, function
def const autodiff pure abs(quantity: number): number
Returns the absolute value of the entered quantity
.
Example
show table "" with
abs(4.6)
abs(-4.6)
This outputs the following table:
abs(4.6) |
abs(-4.6) |
4.6 |
4.6 |
This function is similar to the ABS function in Excel.