Rebol Programming/divide

From Wikibooks, open books for an open world
Jump to navigation Jump to search

USAGE:[edit | edit source]

DIVIDE value1 value2 

DESCRIPTION:[edit | edit source]

Returns the first value divided by the second.

DIVIDE is an action value.

ARGUMENTS[edit | edit source]

  • value1 -- (Type: number pair char money time tuple)
  • value2 -- (Type: number pair char money time tuple)

SOURCE CODE[edit | edit source]

divide: native[
    "Returns the first value divided by the second." 
    value1 [number! pair! char! money! time! tuple!] 
    value2 [number! pair! char! money! time! tuple!]
]