Re: Switch() Statement Not Working
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: Switch() Statement Not Working

From: McKirahan <News@McKirahan.com>
Date: Mon Feb 06 2006 - 06:43:23 CET

<rdavis7408@gmail.com> wrote in message
news:1138734573.754310.120320@g49g2000cwa.googlegroups.com...
> Hello, I have four textboxes that the user enters the price per gallon
> paid at the pump, the mileage per gallon and I would like to then
> calculate the cost per gallon and use a switch statement to pull a
> value based on the price per gallon.

You never clarified what the difference was between
    "price per gallon" and "cost per gallon"
in your earlier post under
"Simple Calculation in Form - 3 textboxes - 1 function".
Received on Tue Feb 7 21:36:12 2006