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.


a [number! money! time!]

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

See also:

modulo   //   remainder   round  


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

  TOC < Back Next > - WIP Wiki Feedback Admin