Code: Select all
private function GetListPrice($stockingPrice)
{
$price = $stockingPrice / .7;
$decimal = $price - floor($price);
if ($price > 100)
return ceil($price);
else
{
if ($decimal <= .5)
return floor($price) + .5;
else
return floor($price) + 1;
}
}
Any ideas why this is happening? It's jacking up our pricing! Thanks!