aspose file tools*
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
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
 
jQuery in Action, 2nd edition
 
subject: Float Display