Rebol Programming/abs

From Wikibooks, open books for an open world
< Rebol Programming
Jump to navigation Jump to search

USAGE:[edit | edit source]

ABS value 

DESCRIPTION:[edit | edit source]

Returns the absolute value.

ABS is an action value.

ARGUMENTS[edit | edit source]

  • value -- (Type: number pair money time)

SOURCE CODE[edit | edit source]

abs: native[
    "Returns the absolute value." 
    value [number! pair! money! time!]