wood burning stoves 2.0*
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


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: 39045
    
  23
http://java.sun.com/javase/6/docs/api/java/util/Formatter.html. Do a search with ctrl-f for 'f' '\u0066'
 
GeeCON Prague 2014
 
subject: Wich is the printf()'s rounding behavior for floating-points ?