The output of a Powershell script I wrote in another country uses a comma for a decimal point instead of a period. So for example, instead of 30,43487
I want it 30.43487
or ,453
to be .453
.
Is there a simple way to do this in Powershell? If I convert every comma to a period using RegEx, I am worried it will affect big numbers such as making 653.999,99 -> 653.999.99. So wondering if there is a better way.
$divide= $num/5
$divide