Meaningless Drivel is fun!*
The moose likes Ranch Office and the fly likes Float Display Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Float Display " Watch "Float Display " New topic
Author

Float Display

RB Pavan Kumar
Greenhorn

Joined: Aug 23, 2001
Posts: 2
Is a float variable always printed in exponential format ?If not is there a way to print it not in an exponential format . For example if a variable x is having a value of 1234567890000. when we print it suing system.out.println it prints as
1.23456789 E 12 is there a way to print it as 1234567890000.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
This forum is intended for questions and comments about this web site, www.javaranch.com. It is not for questions about the Java language - that's what all our other forums are for.

"I'm not back." - Bill Harding, Twister
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Float Display
 
Similar Threads
How to avoid exponential in STRING to DOUBLE conversion
Decimal Precision
double primitive in two forms
max int in float???
Implicit conversions...