Core Function Min

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

Revision as of 00:14, 28 November 2011

Min( <expression>, <expression2> )

Contents

Description

Find the lowest number and return it

Parameters

expression

Any valid numeric expression.

expression2

Any valid numeric expression.

Return Value

Compares 2 numbers and returns the lowest number.

Remarks

None.

Example

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