my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 37926
    
  22
http://java.sun.com/javase/6/docs/api/java/util/Formatter.html. Do a search with ctrl-f for 'f' '\u0066'
 
Consider Paul's rocket mass heater.
 
subject: Wich is the printf()'s rounding behavior for floating-points ?
 
Similar Threads
Array Constructor
Exponential operator in java?
examlab diagnostic test question 10
Factorial
Determine File Size the fastest possible way