U could use round.
if u looked @ the php.net website. & searched you would of found it.
heres the url http://www.php.net/manual/en/function.round.php
an example is below.
$foo = round(1.95583, 2); // $foo == 1.96
Webmaster <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have the following
> I need this to be = 47.70
> it must include the 2 didgets after the . how can i accomplish this
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]