PHP Math
PHP Math is used to perform mathematical tasks on numbers.
PHP pi() Function:
The pi() function returns the value of PI.
PHP min() and max() Functions:
The min() and max() functions can be used to find the lowest or highest value in a list of arguments.
PHP abs() Function:
The abs() function returns the absolute (positive) value of a number:
PHP sqrt() Function
The sqrt() function returns the square root of a number:
PHP round() Function
The round() function rounds a floating-point number to its nearest integer:
Random Numbers
The rand() function generates a random number: