Forum Discussion
Exel, division by 0
- Jul 30, 2020
This is caused by tiny rounding errors that occur when converting from decimal to binary and back.
The formula =1-((0.052*225)/(0.9+0.048*225))=0 returns FALSE, and the formula =1-((0.052*225)/(0.9+0.048*225))-0 returns 0.000000000000000111022302462516.
Since the numbers in your formula are accurate to 3 decimal places, you can avoid the problem by rounding the denominator to 3 decimal places:
=A1/ROUND(1-((0.052*225)/(0.9+0.048*225)),3)
This is caused by tiny rounding errors that occur when converting from decimal to binary and back.
The formula =1-((0.052*225)/(0.9+0.048*225))=0 returns FALSE, and the formula =1-((0.052*225)/(0.9+0.048*225))-0 returns 0.000000000000000111022302462516.
Since the numbers in your formula are accurate to 3 decimal places, you can avoid the problem by rounding the denominator to 3 decimal places:
=A1/ROUND(1-((0.052*225)/(0.9+0.048*225)),3)