More space between currenrecy code and decimal

Discuss bugs related to Logic Invoice.
Post Reply
thumb
Posts: 5
Joined: Thu Nov 02, 2017 8:27 pm

More space between currenrecy code and decimal

Post by thumb » Sun Nov 05, 2017 9:49 pm

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;
}

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests