This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
There is an inevitable loss of precision, but any long number can be approximated by a float number, so the conversion still considered to be a "widening" conversion and done automatically (i.e. without explicit cast). The Java Language Specificationsection 5.1.2 specifies exactly how these widening conversions work. - Peter