4.6 MathematicsThis is NOT the latest copy of this book; click here for the latest version.
PHP has a great number of mathematical functions ready for you to use, as well as several constants for popular numbers so you do not have to calculate them yourself.
Nearly all of the functions can be grouped into three areas: rounding, randomisation, and conversion. Naturally some of these functions are only useful to people with a specific interest in mathematics, but, happily, the majority of these functions come into the conversion group.
|
Want to see this stuff in print? PHP in a Nutshell takes the core topics covered here, adds in thousands of edits from the editorial team and myself, and combines them to make an unbeatable reference for PHP programmers at all levels.
My latest book has hundreds more tips on how to use PHP, Apache, and MySQL, plus Perl, Python, shell scripts, performance tuning, and more!
|