suggest you change language or edit
includes/MiscFunctions.php
and change the function
Code:
function locale_number_format($Number, $DecimalPlaces=0) {
global $DecimalPoint;
global $ThousandsSeparator;
if ($_SESSION['Language']=='hi_IN.utf8' OR $_SESSION['Language']=='en_IN.utf8'){
return indian_number_format(floatval($Number),$DecimalPlaces);
} else {
if (!is_numeric($DecimalPlaces) AND $DecimalPlaces == 'Variable'){
$DecimalPlaces = mb_strlen($Number) - mb_strlen(intval($Number));
if ($DecimalPlaces > 0){
$DecimalPlaces--;
}
}
return number_format(floatval($Number),$DecimalPlaces,$DecimalPoint,$ThousandsSeparator);
}
}
to
Code:
function locale_number_format($Number, $DecimalPlaces=0) {
global $DecimalPoint;
global $ThousandsSeparator;
if (!is_numeric($DecimalPlaces) AND $DecimalPlaces == 'Variable'){
$DecimalPlaces = mb_strlen($Number) - mb_strlen(intval($Number));
if ($DecimalPlaces > 0){
$DecimalPlaces--;
}
}
return number_format(floatval($Number),$DecimalPlaces,$DecimalPoint,$ThousandsSeparator);
}
This will format numbers in the European way.
I think the function filter_number_format() is trouble with indian number formats. It is also in that file (MiscFunctions.php) and you may be able to figure it out?