PHP MATH FUNCTIONS
The math functions can handle values within the range of integer and float types and the math functions are used to convert the factorial value into the rounded values.
S.no Functions Descriptions
1. abs( ) Returns the absolute value of a number
2. acos( ) Returns the arccosine of a number
3. acosh( ) Returns the inverse hyperbolic cosine of a number
4. ceil( ) Returns the value of a number rounded upwards to the nearest integer
5. cos( ) Returns the cosine of a number
6. cosh( ) Returns the hyperbolic cosine of a number
7. decbin( ) Converts a decimal number to a binary number
8. dechex( ) Converts a decimal number into a hexadecimal number
9. decoct( ) Converts a decimal number into an octal number
10. deg2rad( ) Converts a degree to an radian number
11. floor( ) Returns the value of a number rounded downwards to the nearest integer
12. hexdec( ) Converts a hexadecimal number to a decimal number
13. is finite( ) Returns true if a value is a finite number
14 is infinite( ) Returns true if a value is an infinite number
15. is nan( ) Returns true if a value is not a number
16. pi( ) Returns the value of PI
17. pow( ) Returns the value of x to the power of y
18. rand( ) Returns a randon integer
19. round( ) Rounds a number to the nearest integer
20. sqrt( ) Returns the square root of a number
21. sin( ) Returns the sine of a number
22. sinh( ) Returns the hyperbolic sine of a number
The math functions can handle values within the range of integer and float types and the math functions are used to convert the factorial value into the rounded values.
S.no Functions Descriptions
1. abs( ) Returns the absolute value of a number
2. acos( ) Returns the arccosine of a number
3. acosh( ) Returns the inverse hyperbolic cosine of a number
4. ceil( ) Returns the value of a number rounded upwards to the nearest integer
5. cos( ) Returns the cosine of a number
6. cosh( ) Returns the hyperbolic cosine of a number
7. decbin( ) Converts a decimal number to a binary number
8. dechex( ) Converts a decimal number into a hexadecimal number
9. decoct( ) Converts a decimal number into an octal number
10. deg2rad( ) Converts a degree to an radian number
11. floor( ) Returns the value of a number rounded downwards to the nearest integer
12. hexdec( ) Converts a hexadecimal number to a decimal number
13. is finite( ) Returns true if a value is a finite number
14 is infinite( ) Returns true if a value is an infinite number
15. is nan( ) Returns true if a value is not a number
16. pi( ) Returns the value of PI
17. pow( ) Returns the value of x to the power of y
18. rand( ) Returns a randon integer
19. round( ) Rounds a number to the nearest integer
20. sqrt( ) Returns the square root of a number
21. sin( ) Returns the sine of a number
22. sinh( ) Returns the hyperbolic sine of a number
No comments:
Post a Comment