Hello
I need to remove nonsignificant zeroes(decimal places, the figures after decimal point) in currency displaying at frontend.
I made the hack in \administrator\components\com_virtuemart\helpers\currencydisplay.php
I removed this code:
$res = number_format((float)$nb,(int)$nbDecimal,$this->_decimal,$this->_thousands);
with this one:
$res = (string)$nb;
Is my decision correct?
Tested in VM 2.6.1
You could use preg_replace in your template overrides and your fix will be able to resist next VM update. No hack, please.