This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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