Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes Meaning of pattern 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 "Meaning of pattern" Watch "Meaning of pattern" New topic
Author

Meaning of pattern

Ram Chhabra
Greenhorn

Joined: Jun 23, 2007
Posts: 23
Hi,

Can you please explain the pattern used in DecimalFormat constructor, what does that exactly mean


DecimalFormat("###.#####")
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Did you check the DecimalFormat API ? It's explained in details. In there anything you don't understand in it ?


[My Blog]
All roads lead to JavaRanch
 
Consider Paul's rocket mass heater.
 
subject: Meaning of pattern
 
Similar Threads
NumberFormat/DecimalFormat
thousands-separators
How do I remove decimal part of double?
decimal format
zero suppression