MOD

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Language > thinBasic 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