This is a math trick that a wonderful educator shared with me many, many moons ago when I was a child. I have enjoyed math tricks ever since.
I have taught many people this trick over the years. I believe that knowing a math trick, especially one like this, builds your confidence in math. I have seen this help students who don't even like math as a general rule. I find it to be a great teaching tool!