Navigation:  thinBasic Modules > Core > Numeric handling >

MAX

Previous pageReturn to chapter overviewNext page

 

Description

 

Return the largest (maximum) value.

 

Syntax

 

n = MAX(n1 [, n2 [, n3 ... [, n...]]])

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

n1

Number

No

The first number

n2, ...

Number

Yes

Any successive number

 

Remarks

 

Restrictions

 

See also

 

String Handling,

 

Examples