View Single Post
  #5 (permalink)  
Old 07-01-2008, 06:19 PM
Norm's Avatar
Norm Norm is offline
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,223
Norm is on a distinguished road
There are several ways to format the values of float and doubles for display using java classes. For example DecimalFormat

If you read your text you should see that double has a larger range than float. But your problem is displaying the value, so you need to format it to what you want to see.
Reply With Quote