Warning Message

Feb 17, 2009 at 7:28am
Could someone help me with this?

This is the warning message
http://s5.tinypic.com/28ilonq.jpg


Variables
http://s5.tinypic.com/n1a5fk.jpg

I know it should be an integer for the total_gal_paint, but it keeps giving me that message
Feb 17, 2009 at 7:33am
It's just a warning. You don't have to fix it.
It means that you're converting a double to an int, so there may be data loss (e.g. if the double is 12.85, the int will be 12).

If you do want to fix it, you'd need to do something about that .9999. It looks pretty suspicious.
Feb 17, 2009 at 7:03pm
Oh, I just put the .9999 there so it would round up the value I would input.

Thanks for you reply.
Topic archived. No new replies allowed.