• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Textfields

 
Philip Pross
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was wondering why when I use decimal format it doesn't work with textfield? , but with systems outs it does!! I'm using:
DecimalFormat df = new DecimalFormat("##0.00");
Even with this, if the last digit is a zero its not show.
And is there a way to force the numbers to the right side of textfields.
 
Suneel Setlur
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Check it up
here . You right-justify the text field then you get numbers at the right.
Hope it helps
Suneel


[This message has been edited by Suneel Setlur (edited February 02, 2001).]
 
Philip Pross
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks alot
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic