function netWeight($grossWeight, $tareWeight) { return $grossWeight - $tareWeight; }