So, displaying millions for my local currency is a common, and now my client want to styling it by reduce the last 3 digit (thousand).

Here's what i do:

  1. Open administrator/components/com_virtuemart/helpers/currencydisplay.php
  2. go to priceDisplay() function
  3. change: return $this->getFormattedCurrency($price,$nb);
    $temp[$lastindex]="<span style=\"font-size:10px\">".$temp[$lastindex]."</span>";
    return $normalPrice;

So there we have a nice price display in virtuemart 2