I'm new to Python and I was trying to get a "price tag String" to get converted into a float, so I can easily compare the result with other prices. I searched for 2 hours for a answer for this "simple problem", but none of them fitted my needs.
So basically, I have a price like this:
1.222.333,44 EUR
(comma and period swapped because I live in Germany, which is also pretty annoying)
And I want to get this for easy comparing:
1222333.44
The main idea is to compare prices, which is my school project.
I used to do everything with php, which worked, but was way too slow.
If you have a more elegant or simple way, please let me know.