File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Float Display " Watch "Float Display " New topic

Float Display

RB Pavan Kumar

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

Joined: Jan 30, 2000
Posts: 18671
This forum is intended for questions and comments about this web site, 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:
subject: Float Display
jQuery in Action, 3rd edition