Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help me

 
Philip Pross
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working on a shopping cart with an applet over the internet, and would like to know if its possible to line up decimal points ...I know of a funtion in C. And is there a way to trim numbers (or strings) to the right side of a textfield? Look forward for the help!!
Thanks alot
Philip
 
Val Dra
Ranch Hand
Posts: 439
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
take a look at a DecimalFormat class located in java.text package
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic