z/OS TSO/E REXX Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


ABS (Absolute Value)

z/OS TSO/E REXX Reference
SA32-0972-00

Read syntax diagramSkip visual syntax diagram
>>-ABS(number)-------------------------------------------------><

returns the absolute value of number. The result has no sign and is formatted according to the current NUMERIC settings.

Here are some examples:
ABS('12.3')       ->    12.3
ABS(' -0.307')    ->    0.307

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014