DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php round up
<?php
echo
ceil
(
4.3
)
;
// 5
echo
ceil
(
9.999
)
;
// 10
echo
ceil
(
-
3.14
)
;
// -3
?>
Source by www.php.net #
PREVIOUS
NEXT
Tagged:
#php
ADD COMMENT
Topic
COMMENT
Name
4+4 =
Submit