Core Function Min

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> Min( <expression>, <expression2> ) </pre> === Description === Find the lowest number and return it === Parameters === ==== expression ==== Any valid numeric expression...")
 
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
  
Find the lowest number and return it
+
Find the lesser number and return it
  
 
=== Parameters ===
 
=== Parameters ===

Revision as of 00:45, 28 November 2011

Min( <expression>, <expression2> )

Contents

Description

Find the lesser 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