Python float precision - a practical example

preview_player
Показать описание
float type has a representation error when decimals are involved in mathematical operations. Using decimal, you can set the precision of your operations
(Please, note the document is in catalan language. I'll translate to english as soon as I can)
Рекомендации по теме