AMOSi:Abs

From Amiga Coding
Jump to: navigation, search

an example can be found on AMOSPro_Examples:Examples/H-6/Help_60.AMOS(value)


Gives the ABSolute value of a number, taking no account of whether it has a positive or negative sign. The number must be in brackets.


Print Abs(-5)