SQL PHP HTML ASP JavaScript articles and free scripts to download
 

Maximum minimum number using max() min() function

We can get maximum value or highest number between two variables or two numbers by using max function. Here is the code.

echo max(5,25);






Same way we can get minimum number or lowest number between by using min function.

echo min(5,-15);











Join Our Email List
Email:  
For Email Newsletters you can trust
Math Functions
PHP Sections