Jump to content

sumpygump

Members
  • Posts

    14
  • Joined

  • Last visited

sumpygump's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. You can use PHP's round() function. Example: $price = 19.9500; echo round($price, 2); So, in your case: <?php echo $this->helper('catalog/output')->productAttribute($_product, round($_product->getPrice(), 2), 'price') ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.