whatup
11-13-2006, 02:42 AM
im not sure if this is the correct forum but here goes
i am using netbeans ide 5.0 bluej edition
i am using money and i typed in this
System.out.println(money.format(cost/100));
one of the values of cost was 1.165 which it should have made 1.17 correct?
but instead it rounded it down the 1.16
also a different value of cost was 1.475 and it made the 1.48
does aynone know what might be wrong with this?
i am using netbeans ide 5.0 bluej edition
i am using money and i typed in this
System.out.println(money.format(cost/100));
one of the values of cost was 1.165 which it should have made 1.17 correct?
but instead it rounded it down the 1.16
also a different value of cost was 1.475 and it made the 1.48
does aynone know what might be wrong with this?