headhunter
Posts: 130
|
| Posted: 10/16/2007, 1:01 AM |
|
Hello,
Who can give a nice explanation on how to use these.
I have to use it in custom code to format a float value.
I thought earlier I found it but it doesn't work like I expected...
I call it now like this:
CCFormatValue($ValueToFormat, '#,##0.00', ccsFloat, $isDBFormat = false)
This code output it as a float but not in the format I define.
It seems to be using the default format of CCS 0.00
So in "nl" locale it outputs 12345,99 instead of 12.345,99
In "en"locale it outputs 12345.99 instead of 12,345.99
If you look at the page (link under this text) you will see a Bundled product with a detail grid. This grid is outputted with custom code but I cannot format the price correctly like the other values where it is like it should be. http://freestyle.lin2.nucleus.be/Store/Store_Product_De...17&product_id=4
Any ideas?
Thank you!
|
 |
 |
|