Jump to content

Rebol Programming/negate

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
NEGATE number 

DESCRIPTION:

[edit | edit source]

Changes the sign of a number.

NEGATE is an action value.

ARGUMENTS:

[edit | edit source]
  • number -- (Type: number pair money time bitset)

SOURCE CODE

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