Round

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Shadough
Forum Newbie
Posts: 20
Joined: Tue Jun 04, 2002 9:11 pm

Round

Post by Shadough »

i know there is a function to "round" up, but say i want to "round down" to the nearest tenth. is there a function exists like this or would i have to go about it myself. thanks.
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

http://www.php.net/manual/en/function.floor.php

lol i was just about to go write out a function for you too..
Post Reply