Fixed unit conversion arithmetic error