Maybe:

=SUBSTITUTE(A2,".",",")

This assumes that A2 is text, not a number.