float type has a representation error when decimals are involved in mathematical operations. Using decimal, you can set the precision of your operations
This video is related to: https://miquelboada.gitbooks.io/linux...
(Please, note the document is in catalan language. I'll translate to english as soon as I can)
Nesta página do site você pode assistir ao vídeo on-line Python float precision - a practical example duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Miquel Boada Artigas 02 Março 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,459 vezes e gostou 1 espectadores. Boa visualização!