jQuery in Action, 2nd edition*
The moose likes Beginning Java and the fly likes Help me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Help me" Watch "Help me" New topic
Author

Help me

Philip Pross
Ranch Hand

Joined: Jan 17, 2001
Posts: 76
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

Joined: Jan 26, 2001
Posts: 439
take a look at a DecimalFormat class located in java.text package


Val SCJP <BR>going for SCJD
 
GeeCON Prague 2014
 
subject: Help me