REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: mod

mod  a  b

Compute a nonnegative remainder of A divided by B.

[catch]

a [number! money! time!]

b [number! money! time!] - Must be nonzero.

See also:

modulo   //   remainder   round  

Description

Similar to REMAINDER, but the result is always non-negative.


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin