Rebol Programming/negate

USAGE:

edit
NEGATE number 

DESCRIPTION:

edit

Changes the sign of a number.

NEGATE is an action value.

ARGUMENTS:

edit
  • number -- (Type: number pair money time bitset)

SOURCE CODE

edit
negate: native[
    "Changes the sign of a number." 
    number [number! pair! money! time! bitset!]
]