Swapped precision for accuracy because within the context of numerical calculation accuracy refers to how close the calculated answer is to the correct value, while precision refers to the number of significant figures used in the result.
This statement has a high level of precision but low accuracy:
$$pi = 5.464584634564$$
This statement has lower precision but higher accuracy:
$$pi = 3.14$$
The purpose of multiplying before dividing is to calculate a result with higher accuracy.
ethPrice * ethAmount results in 2000e18 is false because:
$$1e18 * 2000e18 = 2000e36$$
Swapped precision for accuracy because within the context of numerical calculation accuracy refers to how close the calculated answer is to the correct value, while precision refers to the number of significant figures used in the result.
This statement has a high level of precision but low accuracy: $$pi = 5.464584634564$$
This statement has lower precision but higher accuracy: $$pi = 3.14$$
The purpose of multiplying before dividing is to calculate a result with higher accuracy.
ethPrice * ethAmount results in 2000e18
is false because: $$1e18 * 2000e18 = 2000e36$$