permaculture playing cards
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Help me" Watch "Help me" New topic

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
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
I agree. Here's the link:
subject: Help me
It's not a secret anymore!