$sNumber = '12 345,67'
$Timer = TimerInit()
For $i = 1 To 1000000
$nNumber = StringRegExpReplace ($sNumber, '^(\d*)\s(\d*),(\d*)$', '\1\2.\3')
Next
ConsoleWrite(TimerDiff($Timer) & @CR)
$Timer = TimerInit()
For $i = 1 To 1000000
$nNumber = StringStripWS(StringReplace($sNumber, ',', '.'), 8)
Next
ConsoleWrite(TimerDiff($Timer) & @CR)