converting values ?

Hi everybody i have values like 20,452,0035,645,00how do convert these values in toint data type ? i cant do this because of the comma (,) ,what is the best data type to store these values ?any idea ?
[235 byte] By [suisa] at [2007-11-27 2:37:31]
# 1
there may be a quicker way, but if you store them as strings, and use replaceAll(",", "") then Integer.parseInt(), that might work.
SeanJ@a at 2007-7-12 2:57:47 > top of Java-index,Java Essentials,Java Programming...
# 2
Thanks very much.
suisa at 2007-7-12 2:57:47 > top of Java-index,Java Essentials,Java Programming...
# 3
If you want each number separated by a comma to be a separate int, then use the String.split() method to break them up, then convert.
hunter9000a at 2007-7-12 2:57:47 > top of Java-index,Java Essentials,Java Programming...