REBOL Programming/remainder

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

REMAINDER value1 value2 

DESCRIPTION:[edit]

Returns the remainder of first value divided by second.

REMAINDER is an action value.

ARGUMENTS[edit]

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

SOURCE CODE[edit]

remainder: native[
    {Returns the remainder of first value divided by second.} 
    value1 [number! pair! char! money! time! tuple!] 
    value2 [number! pair! char! money! time! tuple!]
]