• Post Reply Bookmark Topic Watch Topic
  • New Topic

DecimalFormat method  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I run this code I get an error message. How can I fix this?



http://postimg.org/image/65hz024fh/
df1.PNG
[Thumbnail for df1.PNG]
 
Rancher
Posts: 2240
28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you copy the full contents of the console window showing what command line was used to get that error?

Also please wrap posted code in code tags to preserve formatting and get highlights.
 
Marshal
Posts: 56600
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch
I shall add code tags because you are new; doesn't it look better. Please copy'n'paste error messages in future.
Norm is right; we can only help if we know the whole series of instructions you used to run that code. You might have missed out an essential step.
Why are you using option pane and decimal format? Those would both be regarded as old‑fashioned style.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!