Skip to content

Commit

Permalink
Prevent appending "," for integers above 1000 as thousands separator
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-pm committed Jan 29, 2018
1 parent 1606901 commit d861126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XBase/Record.php
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ public function setInt($columnObj, $value)
}

$value = str_replace(',', '.', $value);
$this->forceSetString($columnObj, number_format($value, $columnObj->getDecimalCount()));
$this->forceSetString($columnObj, number_format($value, $columnObj->getDecimalCount(), '.', ''));
}

public function serializeRawData()
Expand Down

0 comments on commit d861126

Please sign in to comment.