MOD

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > Numeric functions >

MOD

 

Description

 

Return the remainder of the division between two numbers.

 

Syntax

 

n = MOD(Dividend, Divisor)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

Dividend

Numeric

No

Dividend

Divisor

Numeric

No

Divisor

 

Remarks

 

Restrictions

 

See also

 

Numeric functions

 

Examples