Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

DecimalFormat error  RSS feed

 
Mike Lipay
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not understanding why, but mf.format works while cf.format throws an error.




Here is the run time error:
 
Campbell Ritchie
Sheriff
Posts: 53769
127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which line do you get the Exception at?
 
Mike Lipay
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:Which line do you get the Exception at?


#182: if (c == 4) return cf.format(serviceTable[r][c]);
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!