I am writing a code to make a calculation. I use two JText inputs to make a division. However I would like to check if the JText is empty, or is equal to "" before make the calculation. Besides that I would like to check if it is equal zero.
What I really want to do is to check if the JText is not empty or has any space on it or if the value is different from 0. I want to use in the calculation only valid numbers.
Can you help me with that?
Thanks and regards,
Flávio de Souza