REBOL 3 Docs | Guide | Concepts | Functions | Datatypes | Errors |

TOC < Back Next > | Updated: 3-Aug-2010 Edit History |

//
value1
value2

**Returns the remainder of first value divided by second.**

Arguments:

value1 [scalar!]

value2 [scalar!]

See also:

Returns the value of the remainder after the first number is divided by the second. If the second number is zero, an error will occur.

```
print 123 // 10
3
```

```
print 25:32 // 24:00
1:32
```

If the first value is positive, then the returned remainder is nonnegative. If the first value is negative, then the returned remainder is nonpositive.

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