final int SMALL_BOX_PRICE = 060;
Doing a simple
System.out.println(SMALL_BOX_PRICE);
yields an output of: 48.
I'm big enough to say that I was the author. I originally wrote the program using doubles and the price was written 0.60 I went back and changed it to int and erased the decimal point without getting rid of the leading 0. I won't make that mistake again!

New Topic/Question
Reply



MultiQuote




|