Hi thyon,
may I ask you another question regarding the catalog number formatting option concerning the PHP number_format() function.
As I've seen on the PHP manual this function format looks like
Code:
string number_format ( float $number , int $decimals , string $dec_point , string $thousands_sep )
Like indicated in the referenced examples on that site
Code:
<?php
$number = 1234.56;
// english notation (default)
$english_format_number = number_format($number);
// 1,235
// French notation
$nombre_format_francais = number_format($number, 2, ',', ' ');
// 1 234,56
$number = 1234.5678;
// english notation without thousands seperator
$english_format_number = number_format($number, 2, '.', '');
// 1234.57
?>
I tried to add to my catalog number formatting string one of the following character strings (to get something like 10.000,00 with 'point' for thousands separator and 'comma' for decimal separator):
Code:
2, ',', '.' (with blanks between each parameter)
2,',','.' (without blanks)
2, ",", "."
2,",","."
but without success. Do you know what can be wrong with these strings?
Greetings, xchs
Bookmarks