Let’s say I have a string like that: '12,423,343.93'. How to convert it to float in simple, effective and yet elegant way?
It seems I need to remove redundant commas from the string and then call float(), but I have no good solution for that.
Thanks
1 Answer