mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Force . as decimal separator for OO.o spreadsheet
This commit is contained in:
parent
fe18d21f4b
commit
62a856b1c9
@ -851,6 +851,7 @@ abstract class bo_merge
|
|||||||
switch($_mimetype)
|
switch($_mimetype)
|
||||||
{
|
{
|
||||||
case 'application/xml': // Excel 2003
|
case 'application/xml': // Excel 2003
|
||||||
|
case 'application/vnd.oasis.opendocument.spreadsheet': // OO.o spreadsheet
|
||||||
return number_format(str_replace(' ','',$number),$num_decimal_places,'.','');
|
return number_format(str_replace(' ','',$number),$num_decimal_places,'.','');
|
||||||
}
|
}
|
||||||
return etemplate::number_format($number,$num_decimal_places);
|
return etemplate::number_format($number,$num_decimal_places);
|
||||||
|
Loading…
Reference in New Issue
Block a user