like klabundee said,
That is sort of correct. Your math is currently:
70.441*(Player.XP / Player.nextLevel)
substitute in values you get:
70.441 * (0 / 0 ) - Does Not Exist (DNE)
On clicking AddXP
70.441 * (60 / 0 ) - Creates infinity. Try it on a calculator.