Absolutely right - Java, like a lot of programming languages *truncates* floating point values when it converts them to integer
Type: Posts; User: Sean4u
Absolutely right - Java, like a lot of programming languages *truncates* floating point values when it converts them to integer
Did you type it in to a Java program and try running it? That's what I would do.