Skip to content

Commit d861126

Browse files
committedJan 29, 2018
Prevent appending "," for integers above 1000 as thousands separator
1 parent 1606901 commit d861126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/XBase/Record.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ public function setInt($columnObj, $value)
446446
}
447447

448448
$value = str_replace(',', '.', $value);
449-
$this->forceSetString($columnObj, number_format($value, $columnObj->getDecimalCount()));
449+
$this->forceSetString($columnObj, number_format($value, $columnObj->getDecimalCount(), '.', ''));
450450
}
451451

452452
public function serializeRawData()

0 commit comments

Comments
 (0)
Please sign in to comment.