fixed some localization problems

There was a problem with the german decimal seperator in the float.
This fix gets rid of this issue.