Solved my own problem

Note to self, RTFM:

number_format is w hat I needed.

Thanks,
Brent

----- Original Message ----- 
From: "Brent Clements" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 31, 2004 8:01 PM
Subject: [PHP] Need to add a 0 to a float number


Hi,
 How would I add a 0 to variables that have the following?

I want 

$var = 6.5

to be converted to 

$var = 6.50

Thanks,
Brent

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to