Max: Difference between revisions
Jump to navigation
Jump to search
imported>Eliteofdelete No edit summary |
imported>Eliteofdelete Wrong spot, whoops |
||
Line 28: | Line 28: | ||
function_description=Compares two numbers, and returns the higher of the two. Note that it is possible to mix an int and float type in the parameters, in which case the int parameter will be transparently converted to a float, and the value returned will be of float type.| | function_description=Compares two numbers, and returns the higher of the two. Note that it is possible to mix an int and float type in the parameters, in which case the int parameter will be transparently converted to a float, and the value returned will be of float type.| | ||
needscode=yes| | |||
see_also={{SeeAlso|min}}| | see_also={{SeeAlso|min}}| |
Latest revision as of 22:21, 21 January 2015
needs(code_samples);
Function Syntax
- a is the first number to compare
- b is the second number to compare
Compares two numbers, and returns the higher of the two. Note that it is possible to mix an int and float type in the parameters, in which case the int parameter will be transparently converted to a float, and the value returned will be of float type.