Core Function Max

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
T3charmy (Talk | contribs)
(Created page with "<pre> Max( <expression>, <expression2> ) </pre> === Description === Find the greater number and return it === Parameters === ==== expression ==== Any valid numeric expressio...")
Newer edit →

Revision as of 22:18, 23 November 2011

Max( <expression>, <expression2> )

Contents

Description

Find the greater number and return it

Parameters

expression

Any valid numeric expression.

expression2

Any valid numeric expression.

Return Value

Compares 2 numbers and returns the greater number.

Remarks

None.

Example

$y = max(50, 100);
println( "Value is: $y " ); //prints 100
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox