Skip to content

Commit

Permalink
Small fix to format only the HTML value, not overall value
Browse files Browse the repository at this point in the history
  • Loading branch information
uded committed Feb 12, 2014
1 parent d9054dc commit 35e723f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/filters/numberFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static function filter($value, $options = array(), &$report, &$row) {
$dec_sepr = $options['decimal_sep'] ? $options['decimal_sep'] : ',';
$thousand = $options['thousands_sep'] ? $options['thousands_sep'] : ' ';
if (is_numeric($value->getValue())) {
$value->setValue(number_format($value->getValue(), $decimals, $dec_sepr, $thousand));
$value->setValue(number_format($value->getValue(), $decimals, $dec_sepr, $thousand), true);
}

return $value;
Expand Down

0 comments on commit 35e723f

Please sign in to comment.