Skip to content

Instantly share code, notes, and snippets.

@kermie
Created June 5, 2013 12:04
Show Gist options
  • Save kermie/5713424 to your computer and use it in GitHub Desktop.
Save kermie/5713424 to your computer and use it in GitHub Desktop.
<?php
class mst_ch_highfive extends mst_ch_highfive_parent
{
public function getPrice()
{
if ( $this->_blNetPriceMode ) {
return $this->getNettoPrice();
} else {
$value = round(($this->getBruttoPrice()+0.000001)*20)/20;
return $value;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment