< Rebol Programming

USAGE:

NEGATE number 

DESCRIPTION:

Changes the sign of a number.

NEGATE is an action value.

ARGUMENTS:

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

SOURCE CODE

negate: native[
    "Changes the sign of a number." 
    number [number! pair! money! time! bitset!]
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.