Replacing dot for comma

I wanted to change 34.66 to 34,66.

I tried the command: sed 's/./,/' $NUM

Where $NUM is a variable with 34.66 value.

The output is ,4.66

Since . is a metacharacter you need to "escape" it with \

sed 's/\./,/' $NUM

Thanks!!!