|
Pounds & Ounces Calculator
Hi,
Using JavaScript, how do I subtract a weight from a drop-down menu from another drop-down menu, to calculate the amount of weight loss?
In total there should be 6 drop-down boxes, these are the following:
1: Pounds (Before), 2. Ounces (Before), 3. Fraction (Before), 4. Pounds (After), 5. Ounces (After), & 6. Fraction (After)
For example if:
Drop-Down Box 1 = 5
Drop-Down Box 2 = 3
Drop-Down Box 3 = ¾
Drop-Down Box 4 = 3
Drop-Down Box 5 = 2
Drop-Down Box 6 = ¼
Answer = 2.1½ have been lost.
__________________
Many Thanks, in advance!
Salchester.
The Future Is Here - Are You Ready?
|