Say we have two rational numbers.
$a, b \in \mathbb{Q}$
If c is defined as:
$c = \tfrac{a}{b}$
What is the best (most correct) way to round up the fraction to two decimal places?
- By round $a$ and $b$ first
- By diving $a$ and $b$ as they are, and then rounding the result.
Example:
Say $a=1.541$ and $b=2.317$
We can either get:
- $c=\frac{1.54}{2.32} = 0.6637$, and by rounding to two decimal places, $c=0.66$
OR
- $c=\frac{1.541}{2.317} = 0.6650$, so by rounding to two decimal places, $c=0.67$