Yeah i attempted to switch everything to integers but it won't allow me to because I need to pass .9 to the constructor and it flags it as a double.
Type: Posts; User: _lithium_
Yeah i attempted to switch everything to integers but it won't allow me to because I need to pass .9 to the constructor and it flags it as a double.
:-/ ?? Any suggestions?
Why wouldn't this occur with the Nickel button though? Why only the dimes? I can't change it to int from double cause it then keeps telling me its a loss of precision and it is expecting a double.
http://img21.imageshack.us/img21/4046/javaerror.png
That is the incrementing (i put a print line like you suggested)...why would it do that?
I was thinking it had something to do with that too so that was among the first things i tried to use, and it didn't work. (it still waits until I hit $1.00 then displays the "Water" button, when it...
Ok, I'm sure this problem is simple but I can't seem to figure it out. I'm basically making a pseudo-vending machine and trying to get the "dime" and "nickel" buttons to work. Whenever a user presses...