you math is right.. but I would not put it in the change event... i would put it in the click event of the button.