Fluctuating voltage value in print console

Is it possible to explain and or make an simplier code than that?
I think i just don't understand it...