|
-
Apr 4th, 2005, 10:23 PM
#1
Thread Starter
Frenzied Member
Format a string
How do one format a string in java. in vb you could say something like format(string, format)
I convert a double to string using tostring.
Now I want to format the string with thousands and decimal seperators.
Kinda urgent. No problem in vb, but want to supply the answer to this question in Java, as it is for a job....
Last edited by StrangerInBeijing; Apr 4th, 2005 at 11:42 PM.
-
Apr 4th, 2005, 10:40 PM
#2
Member
Re: Format a string
Maybe this will help you along...
Format String
-
Apr 4th, 2005, 11:42 PM
#3
Thread Starter
Frenzied Member
Re: Format a string
Hi,
Thanx Brandoe, that helped. Played around until I understood it, and send my own simplified solution. (had to use notepad and command prompt!) and hope they are satisfied.
Cheers!
-
Apr 4th, 2005, 11:46 PM
#4
Member
Re: Format a string
Sweet! Glad it helped
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|