This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Wich is the printf()'s rounding behavior for floating-points ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Wich is the printf() Watch "Wich is the printf() New topic
Author

Wich is the printf()'s rounding behavior for floating-points ?

Fernando Almada
Greenhorn

Joined: Aug 28, 2008
Posts: 4

http://java.sun.com/j2se/1.5.0/docs/api/java/math/RoundingMode.html

Thanks,
Fer
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38519
    
  23
http://java.sun.com/javase/6/docs/api/java/util/Formatter.html. Do a search with ctrl-f for 'f' '\u0066'
 
 
subject: Wich is the printf()'s rounding behavior for floating-points ?