REBOL Programming/abs

< REBOL Programming

Contents

USAGE:Edit

ABS value 

DESCRIPTION:Edit

Returns the absolute value.

ABS is an action value.

ARGUMENTSEdit

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

SOURCE CODEEdit

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