Welcome to the forum.

=SUBSTITUTE(SUBSTITUTE(A1, ".", ""), ",", ".") + 0