How we can control the texinput value to do some math calaculation depending on the value not on clicking button.