Hi
I try to run the code appended at the end of this message on v1.2pre1
on linux and in the jdk1.2 and jdk1.2.1 on Win and the result is
that 0.3*3 is equals to 0,89999999999 and not simply to 0.9 !!!
is this a bug or what?
trying to run this one and you can see it!
Anyone knows some bug-fix to resolve this strange
error ?
any comments are welcome!
bye Alessio
--
public class test
{
public static void main(String[] args)
{
double dd = 0;
try
{
System.out.println();
System.out.println("calculating: 0.3 * 3");
System.out.println();
dd = (0.3 * 3);
System.out.println("the result is: " + dd);
}
catch (Exception e)
{
System.out.println("errore : " + e.toString());
}
}
}
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]