SyntaxFix
Write A Post
Hire A Developer
Questions
For the current information you are giving, it will be enought with this simple regex to do the replacement:
str.replaceAll(",", ".");