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)
Sur cette page du site, vous pouvez voir la vidéo en ligne Python float precision - a practical example durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Miquel Boada Artigas 02 mars 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,459 fois et il a aimé 1 téléspectateurs. Bon visionnage!