Please enable JavaScript to view this site.

Function that returns the remainder of the division between numeric variables.

Syntax

real mod (real dividend, real divisor)

dividend

Value whose module is desired

divisor

Module value

Result

Returns the remainder of the division, calculated using the following logic:

mod = dividend - (divisor * (int)(dividend / divisor))

Validity

Rule, Task

Note


 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC