dakini Posted October 7, 2008 Posted October 7, 2008 Hi everyone, I really hope any of you can help as i'm at a dead end here. i'm currently experiencing problem with displaying prices on the web site. every time when a price has a decimal part, it's being rounded which is not very accurate. For exmaple if the price is 4.50, it's showed as 5.00. it's saved coreclty in the database though. Any help is greatly appreciated. dakini
♥Vger Posted October 7, 2008 Posted October 7, 2008 There is a rounding up function in osCommerce, but I'm not sure this is what you are referring to. If a price was set by yourself as 4.56 then it would be rounded up to 4.6 However, there is also the number of decimal places you set in osC Admin -- Localisation --> Currencies. By default it is set to 2 decimal places after the point, but you can change that. Vger
dakini Posted October 8, 2008 Author Posted October 8, 2008 So silly i am. I have actually forgotten to put decimal sign and decimal places for the default currency, did so for the other two currencies though. that now works perfectly. thank you so much, sometimes it's something that simple but it takes soemone's view from the side. thanx once again
Recommended Posts
Archived
This topic is now archived and is closed to further replies.