| Author |
printf()
|
podonga poron
Ranch Hand
Joined: May 12, 2008
Posts: 55
|
|
printf() i'm reading a book who names "conversion types" but the * book uses all abbreviated styles, and i can't figure it out what these means .. B = boolean ? C = ??? D = Digit ? F = Float ?? S = ??? thanks ! [ June 10, 2008: Message edited by: David O'Meara ]
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12911
|
|
I understand your frustration, but please do not use swear words. The API documentation for the class java.util.Formatter contains a complete description of the format string syntax.
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
Ronald Schild
Ranch Hand
Joined: Jun 09, 2008
Posts: 117
|
|
Originally posted by podonga poron: printf() i'm reading a book who names "conversion types" but the *oops*' book uses all abbreviated styles, and i can't figure it out what these means .. B = boolean ? C = ??? D = Digit ? F = Float ?? S = ??? thanks !
Consider boolean, byte, char, double, float, short, int and long. There are also wrapper classes: Boolean, Byte, Character, Double, Float, Short, Integer and Long. There's also the String class. They're all related in a way, up to you to find how! ps. Please don't swear or use this forum to vent your frustration
|
Java hobbyist.
|
 |
 |
|
|
subject: printf()
|
|
|