I have a number of strings that represent numbers which use commas or points to separate thousands and have different floating separators. For example:
"22 000,76", "22.000,76", "22,000.76", "1022000,76", "-1,022,000.76", "1022000", "22 000,76$", "$22 000,76"
How can I convert these to float point numbers in Python?
In PHP I use function like this: http://docs.php.net/manual/sr/function.floatval.php#84793