I needed a simple way to parse string numbers to its matching numerical value, for parsing csv formatted files.
Due to my Slovak locale settings my system is using comma (,) in float number values. But the code to convert a string to float using float() function requires a dot (.) value.