-
Notifications
You must be signed in to change notification settings - Fork 2
_abs
abinition edited this page Oct 22, 2014
·
4 revisions
#abs
###Get the absolute value of a number
Syntax
status = abs arg1 ;
Arguments
- list arg1
A value of any type.
Return Value
list result
- 1 :
The absolute value. The
Exceptions
- %ARGUMENT: Invalid arguments. Usage: status = abs ( arg1 ) ;
Description
- None
Examples
int x = -999 ;
puts abs x ;
Related Links
None