Last modified on 31 October 2012, at 15:26

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 CODEEdit

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