ABS FunctionSummaryReturns the absolute value of a numeric value. Syntax
ABS(numeric expression) Remarks and ExamplesThe ABS function returns the absolute value of a number. If the supplied number is zero or positive, ABS returns the same number unchanged. If the given number is negative, the same number is returned with the negative sign removed -- the negative number is made positive. Examples: PRINT ABS(35.7) 35.7 PRINT ABS(-35.7) 35.7 Copyright 2006-2008, Kevin Matz, All Rights Reserved. |
|