Force . as decimal separator for OO.o spreadsheet

This commit is contained in:
Nathan Gray 2011-03-15 15:31:21 +00:00
parent fe18d21f4b
commit 62a856b1c9

View File

@ -851,6 +851,7 @@ abstract class bo_merge
switch($_mimetype)
{
case 'application/xml': // Excel 2003
case 'application/vnd.oasis.opendocument.spreadsheet': // OO.o spreadsheet
return number_format(str_replace(' ','',$number),$num_decimal_places,'.','');
}
return etemplate::number_format($number,$num_decimal_places);