PHPCodez
Search
Primary Menu
Skip to content
Home
PHP
Functions
WordPress
Plugins
Joomla
Magento
Linux
My SQL
jQuery
Profile
comments
Search for:
PHP
floor
May 3, 2012
Pramod T P
It round fractions down
Example
<?php
echo floor(1.7);
?>
Output
1
Post navigation
Previous Post
expm1
Next Post
fmod
Beginners' Guide