File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes DecimalFormat error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "DecimalFormat error" Watch "DecimalFormat error" New topic
Author

DecimalFormat error

Mike Lipay
Ranch Hand

Joined: Sep 11, 2007
Posts: 171
I'm not understanding why, but mf.format works while cf.format throws an error.




Here is the run time error:
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38334
    
  23
Which line do you get the Exception at?
Mike Lipay
Ranch Hand

Joined: Sep 11, 2007
Posts: 171
Campbell Ritchie wrote:Which line do you get the Exception at?


#182: if (c == 4) return cf.format(serviceTable[r][c]);
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DecimalFormat error