From 62a856b1c9d837ca803dcf9e580ecff4a0bb1bec Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 15 Mar 2011 15:31:21 +0000 Subject: [PATCH] Force . as decimal separator for OO.o spreadsheet --- etemplate/inc/class.bo_merge.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/etemplate/inc/class.bo_merge.inc.php b/etemplate/inc/class.bo_merge.inc.php index c8c3f61d3d..bc06ef0daa 100644 --- a/etemplate/inc/class.bo_merge.inc.php +++ b/etemplate/inc/class.bo_merge.inc.php @@ -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);