To reduce trancation error, you can multiply the expression by a factor of 10 or 100 before any division. That way the resulting answer can represent more accurate resolution. E.g. the number 1234 can mean quantity of 123.4, or 12.34 or 1.234, it is up to your program to keep track of its exact meaning.