View Full Version : Rounding Problem

11-13-2006, 03: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

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?

11-13-2006, 09:55 AM
System.out.println would be Java, not JavaScript. Head to "Server Side Languages"