File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help me
 
Similar Threads
Rounding off $$ amounts
UIViewRoot findComponent
Enterprise Service Bus
Inner Classes
custom service