Jump to content

Rebol Programming/remainder

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
REMAINDER value1 value2 

DESCRIPTION:

[edit | edit source]

Returns the remainder of first value divided by second.

REMAINDER 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]
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!]
]