posted 18 years ago
Hello ranchers, can anyone tell me why this following code prints out this output->Infinity, -Infinity, 4.4E99?
{
Float f1 = new Float("4.4e99f");
Float f2 = new Float("-4.4e99f");
Double d1 = new Double("4.4e99");
System.out.println(f1);
System.out.println(f2);
System.out.println(d1);
}
Thanks
[ May 09, 2006: Message edited by: Igor Fortunato ]