O tube str2num converte uma String em um número.
<str>.str2num() str2num(str)
Exemplo: <a> = "5.000,13", <a>.str2num() # retorna 5000.13