wood burning stoves*
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: 39044
    
  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]);
 
GeeCON Prague 2014
 
subject: DecimalFormat error