I want to calculate the level of the numbers I type in the textbox

Extension used in the above project can be found here