wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Can somebody explain this 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 » Java » Beginning Java
Bookmark "Can somebody explain this" Watch "Can somebody explain this" New topic
Author

Can somebody explain this

budsy remo
Ranch Hand

Joined: Sep 20, 2008
Posts: 103
What does this means :
System.out.printf("%10.2f",somevariable);

What does this 10.2 stands for ? I know f means to represent float value but what does 10.2 does ?
James Sabre
Ranch Hand

Joined: Sep 07, 2004
Posts: 781

http://download.oracle.com/javase/6/docs/api/java/util/Formatter.html


Retired horse trader.
 Note: double-underline links may be advertisements automatically added by this site and are probably not endorsed by me.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can somebody explain this
 
Similar Threads
How's your memory?
A basic dought
migration from weblogic workshop 8.1 to 10.2
xmp TAG
How to get Safari