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

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com