Documentation : https://sbcode.net/python/facade/#pyt...
The decimal module provides support for correctly rounded decimal floating-point arithmetic.
If representing money values in python, it is better to use the decimal type rather than float .
Floats will have rounding errors versus decimal.
Sometimes you just want to switch off your computer and read from a book. So, all GoF patterns are discussed in my Design Patterns In Python book
https://www.amazon.com/dp/B08XLJ8Z2J : ASIN B08XLJ8Z2J
https://www.amazon.com/dp/B08Z282SBC : ASIN B08Z282SBC
#pythonDecimal
#designPatterns
#pythonDesignPatterns
En esta página del sitio puede ver el video en línea Python Decimal : Design Patterns In Python de Duración hora minuto segunda en buena calidad , que subió el usuario SBCODE 14 marzo 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 662 veces y le gustó 11 a los espectadores. Disfruta viendo!