fix the division so that the precision is held throughout the operation