Java does not read the decimals?
Hello. I was going to post this on the Appleta' site, as it's a problem from an applet, but as I overloaded it with threads today and I think it's a general Java problem, I decided to post it here.
Well, the thing is that I've got a varyable named "x", and I set it at 1. Summarizing it all, t when I substract 0.05 from that 1, the applet takes it as 0.
What can I do to solve it and make Java take it as 0.95? Thanks!
PS: if it's a specific problem of applets, tell me and I'll change the thread to the applets' site.