• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

printf()

 
podonga poron
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Saloon Keeper
Posts: 15448
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ronald Schild
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic