Comparing two numbers using java
Hello, pls help.
I have three filed named 'field1', 'field2' and 'field3'.
And the user will key in a number in 'field1' and after user key in another number in 'field2'.
The number will automatically compared to the number in 'field1'.
If the 'field1'>'field2', the system will pop up an alert saying 'field2' must not be less than 'field1'.
If the 'field2' =< 'field2', the system will run an equation that 'field1/field2*100%' and put this percentage result into 'field3'
Can someone help me with the coding Please...
Thank youuu
