This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Number Format Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Number Format" Watch "Number Format" New topic
Author

Number Format

Luis Fernandes
Greenhorn

Joined: Sep 22, 2007
Posts: 19
Hello,

I receive the number from my clients in this format : 12.855,70 ; 25.000.25 ;

1.000,00 but my app only reconize the number whitout the dots and in a format that the all number must have 15 char

for example the above number must be : 000000001285570 ; 000000002500025 ;
000000000100000

i need to configure my app to put the receive string in this format. can someone help with this job ?

Regards


Luis Claudio<br />MCSE ; CCNA ; SCJP 5.0
Brian Cole
Author
Ranch Hand

Joined: Sep 20, 2005
Posts: 852
This isn't really a swing/awt question, but DecimalFormat is your friend.



bitguru blog
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Number Format
 
Similar Threads
Receiving Fax Messages
converting a number to its date equivalent
PF Transfer
help with number formats
passing a matrix