First, the SAC rate was calculated improperly. The scaling factor was wrong. In includes/misc.inc.php, edit the LitreToCuft function as follows:
Code: Select all
function LitreToCuft($value, $precision = 2)
{
# return round(($value * 7), $precision);
return round(($value * 0.0353146667), $precision);
}
Code: Select all
function MetreToFeet($value, $precision = 2)
{
# return round(($value * 3.2808399 ), $precision);
return round(($value * sqrt( 3.2808399 ) ), $precision);
}
Dave