Ravens PHP Scripts: Forums
 

 

Search found 3 matches
Author Message
 Topic: A question....
AMHE

Replies: 4
Views: 6198

PostForum: PHP   Posted: Tue Nov 02, 2004 1:58 pm   Subject: A question....
I got it to work using:

$price2 = number_format($price2, 2, '.', '');
 Topic: A question....
AMHE

Replies: 4
Views: 6198

PostForum: PHP   Posted: Tue Nov 02, 2004 12:37 pm   Subject: A question....
That seems to be doing the same thing that simply placing a (float) after $price2= is doing.

It rounds off my prices and removes all the zeros. Ie...

a price of 47.50 is coming out 47.5

or a ...
 Topic: A question....
AMHE

Replies: 4
Views: 6198

PostForum: PHP   Posted: Tue Nov 02, 2004 10:09 am   Subject: A question....
Hi All,

I'm a bit new to php and I'm working on random recordsets for a shopping site. My random script works great and pulls info from my datatbases perfectly BUT i'm getting some weird stuff wit ...
 

 Jump to:   

Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©