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.
I could think of a problem only in line 5. But that too when I tried, there was no error and i could see .1e1d is taken as (.1 * pow(10,1)) = 1.0. Similarly, .1e2d is treated as (.1 * pow(10, 2)) = 10.0.