PHP Max() FunctionThe max() function is used to find the highest value. Syntax:OR
Example1Output: Your number is =max(4,14,3,5,14.2) By using max function Your number is : 14.2 Example2Output: Your number is =max(.1, .001, .2, -.5) By using max function Your number is : 0.2 Example3Output: Your number is =array(110, 20, 52 ,105, 56, 89, 96) By using max() function Your number is : 110 Example4Output: By using max() function Your number is : 200
Next TopicPHP Math
|