Skip to Content
0
Former Member
Dec 05, 2008 at 03:40 AM

Multiplication based on selection of Radio Button

115 Views

Hi,

I have a requirment where i should multiply a value when a Radio Button is changed. For ex: There are 2 radio buttons M (Meters) and KM (Kilo-Meters). So when i change from KM to M the value should be mutilplied by 1000 and back to KM from M the original value should be Restored. Same thing should be done Vice-Versa i.e when changed from M to KM the value should be divided by 1000 and back to M from KM the original value should be Restored. Please help me out.

Thanks in advance.