REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: absolute

absolute  value

Returns the absolute value.

Arguments:

value [number! pair! money! time!]

See also:

abs   sign?   negate   -  

Description

Returns a positive value equal in magnitude.

print absolute -123
123
print absolute -1:23
1:23
print absolute -1x4
1x4


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin