Page 1 of 1

More space between currenrecy code and decimal

Posted: Sun Nov 05, 2017 9:49 pm
by thumb
Just a little thing to give some space between currentcy code and decimal add . ' ' to $string
in file:
system/library/currency.php
line 84:
if (($symbol_left) && ($format)) {
$string .= $symbol_left . ' ';
}

if ($format) {
$decimal_point = $this->language->get('decimal_point');
} else {
$decimal_point = '.';
}

if ($format) {
$thousand_point = $this->language->get('thousand_point');
} else {
$thousand_point = '';
}

$string .= number_format(round($value, (int)$decimal_place), (int)$decimal_place, $decimal_point, $thousand_point);

if (($symbol_right) && ($format)) {
$string .= ' ' . $symbol_right;
}