1
0
mirror of https://github.com/shuchkin/simplexlsxgen.git synced 2023-08-10 21:12:59 +03:00

Fix local floats in XML

This commit is contained in:
Sergey Shuchkin 2021-01-25 22:43:37 +06:00
parent 205396b998
commit 8b6d0505b5

View File

@ -332,7 +332,7 @@ class SimpleXLSXGen {
protected function _sheetToXML($idx, $template) { protected function _sheetToXML($idx, $template) {
// locale floats fr_FR 1.234,56 -> 1234.56 // locale floats fr_FR 1.234,56 -> 1234.56
$_loc = setlocale(LC_NUMERIC,''); $_loc = setlocale(LC_NUMERIC, 0);
setlocale(LC_NUMERIC,'C'); setlocale(LC_NUMERIC,'C');
$COLS = []; $COLS = [];
$ROWS = []; $ROWS = [];