Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what means?

 
Lenny Peter
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
%5,3f

f is Float? How can I rewrite this if it should be a int?



thanks
 
Steve Luke
Bartender
Posts: 4181
21
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read the Formatter API to see what it means and how to replace it with what you want.
 
Campbell Ritchie
Sheriff
Posts: 48363
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Steve Luke wrote:Read the Formatter API to see what it means and how to replace it with what you want.
Or this Java™ Tutorials section, which is quicker to read.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic