Skip to content

Commit

Permalink
Adding #00 to unNumberFormat()
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed May 24, 2016
1 parent 249d8d8 commit 210a622
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/com_fabrik/models/element.php
Original file line number Diff line number Diff line change
Expand Up @@ -6762,7 +6762,11 @@ public function unNumberFormat($val)
{
$thousandSep = ' ';
}

else if ($thousandSep == '#00')
{
$thousandSep = '';
}

$val = str_replace($thousandSep, '', $val);
$val = str_replace($decimalSep, '.', $val);

Expand Down

0 comments on commit 210a622

Please sign in to comment.