This is just a little something, similar to a virtual keyboard if you want it. It should be easy to work out the math. Simple arithmetic, IMHO.