- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Malhar Lathkar has Published 155 Articles
![Malhar Lathkar](https://www.tutorialspoint.com/assets/profiles/211197/profile/60_4699-1591856239.jpg)
Malhar Lathkar
72 Views
Definition and UsageThe is_finite() function returns a boolean value. It checks whether given parameter is a legal finite number and if so the function returns TRUE, otherwise FALSESyntaxis_finite ( float $val ) : bool ParametersSr.NoParameter & Description1valThe value to be verified if finite or notReturn ValuesPHP is_finite() function returns TRUE ... Read More
![Malhar Lathkar](https://www.tutorialspoint.com/assets/profiles/211197/profile/60_4699-1591856239.jpg)
Malhar Lathkar
56 Views
Definition and UsageThe intdiv() function returns integer quotient of two integer parameters. If x/y results in i as division and r as remainder so thatx = y*i+r In this case, intdiv(x, y) returns i Syntaxintdiv ( int $x , int $y ) : int ParametersSr.NoParameter & Description1xThis parameter forms numerator part of division ... Read More
![Malhar Lathkar](https://www.tutorialspoint.com/assets/profiles/211197/profile/60_4699-1591856239.jpg)
Malhar Lathkar
107 Views
Definition and UsageThe hypot() function calculates length of hypotenus of a right angled triangle. Hypoteneuse is calculated as per following formula −h=sqrt(x2+y2) where x and y are other two sides of a right angled triangleFor example, if x=3 and y=4, hypot(x, y)=5 which is equal to sqrt(32+42) = sqrt(25) =5This ... Read More
![Malhar Lathkar](https://www.tutorialspoint.com/assets/profiles/211197/profile/60_4699-1591856239.jpg)
Malhar Lathkar
51 Views
Definition and UsageThe hexdec() function returns a decimal number equivalent of a hexadecimal number embedded in a string.This function returns a a decimal integer, though larger values may result in floats.Syntaxhexdec ( string $hex_string ) : numberParametersSr.NoParameter & Description1hex_stringA decimal number to be converted in equivalent octal representationReturn ValuesPHP hexdec() ... Read More
![Malhar Lathkar](https://www.tutorialspoint.com/assets/profiles/211197/profile/60_4699-1591856239.jpg)
Malhar Lathkar
132 Views
Definition and UsageThe getrandmax() function returns largest integer that can be used in PHP. Value returned by this function serves as the upper limit for rand() function to generate random number.This function always returns an integer.Syntaxgetrandmax ( void ) : intParametersSr.NoParameter & Description1This function needs no parametersReturn ValuesPHP getrandmax() function ... Read More
![Malhar Lathkar](https://www.tutorialspoint.com/assets/profiles/211197/profile/60_4699-1591856239.jpg)
Malhar Lathkar
137 Views
Definition and UsageThe name fmod stands for floating modulo . This function returns remainder of division of two floating point numbers. If x/y results in i as division and r as remainder so thatx = y*i+r In this case, fmod(x, y) returns rSyntaxfmod ( float $x , float $y ) : ... Read More
![Malhar Lathkar](https://www.tutorialspoint.com/assets/profiles/211197/profile/60_4699-1591856239.jpg)
Malhar Lathkar
623 Views
Definition and UsageThe floor() function is another in-built function in PHP iterpreter. This function accepts any float number as argument and rounds it down to the next lowest integer.This function always returns a float number as range of float is bigger than that of integer.Syntaxfloor ( float $num ) : ... Read More
![Malhar Lathkar](https://www.tutorialspoint.com/assets/profiles/211197/profile/60_4699-1591856239.jpg)
Malhar Lathkar
30 Views
Definition and UsageThe expm1() function returns exp(number) - 1, computed in a way that is accurate even when the value of number is close to zero, a case where 'exp (number) - 1' would be inaccurate due to subtraction of two numbers that are nearly equal.expm1(x) = exp(x) - 1This ... Read More
![Malhar Lathkar](https://www.tutorialspoint.com/assets/profiles/211197/profile/60_4699-1591856239.jpg)
Malhar Lathkar
81 Views
Definition and UsageThe exp() function calculates exponent of e that is Euler Number. PHP has a predefined constant M_E that represents Euler Number and is equal to 2.7182818284590452354. Hence, exp(x) returns 2.7182818284590452354xThis function always returns a float.Syntaxexp ( float $arg ) : floatParametersSr.NoParameter & Description1arga floating point number to raise ... Read More
![Malhar Lathkar](https://www.tutorialspoint.com/assets/profiles/211197/profile/60_4699-1591856239.jpg)
Malhar Lathkar
148 Views
Definition and UsageMost trigonometric functions like sin, cos, tan etc require angle argument in radians. The deg2rad() function proves useful in conversion of degrees to radians.This function returns a float number such that number=deg2rad(x) where is angle in degrees. angle in radian = angle in deg *180/piFor example deg2rad(30) is ... Read More