This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Programmer Certification (SCJP/OCPJP)
Loss of precision when converting int to float
Joined: Feb 11, 2005
May 11, 2005 00:07:00
output is :f2 9.4444442E8
output is :f2 9.4444448E7
Note that in frist case there are 9 digits while in second case its 8 digits..
pls explain the output
subject: Loss of precision when converting int to float
Float and ==
whats the difference between float & double
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014