How to use min in PHP
This article describe about min() Function in PHP.
min() Function
This function return the lowest number between specified two value.
Syntax
Parameter |
Description |
x |
Specified a number. |
y |
Specified a number. |
Example
<html>
<?php
echo(min(9,7) . "<br />");
echo(min(-6,5) . "<br />");
echo(min(-3,-5) . "<br />");
echo(min(9.5,7.300))
?>
</html> |
Output

You may also want to read these related articles Click here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here