Navigation:  ThinBASIC Modules > Core (thinBasic Core Engine) > Numeric functions >

MOD

Previous pageReturn to chapter overviewNext page

 

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 Handling,

 

Examples