posted 22 years ago
Background:
I have a JTable (the problem is not in swing), where I have some columns of numbers. All numbers are formatted, so that 1000 becomes 1 000.00 or 1'000.00 and 12.1 becomes 12.10
Problem:
One of my processes understands the decimal places, but gives an error to the apostrophes (') and spaces.
Question:
How do I replace these characters with nothing? I mean How do I get from 1'000.00 to 1000.00, the decimal places remain, I only need to get rid of the bad characters.
Code
Tnx!
[This message has been edited by aulo aasmaa (edited August 15, 2001).]