File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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!