Many textbooks say that when performing calculations where significant figures matter, carry extra digits and ONLY ROUND AT THE END.

I'm sure it was determined that rounding at the end minimizes error in calculation/ error propagation. But, does anyone know how to prove that?

I have little statistics background, so I've only assumed this is a statistics related question. I'm much stronger in Calculus and Diff. eq.