1. Miki Tebeka
  2. talks

Source

talks / python-gotchas / src / float_fixed.py

1
2
3
4
from decimal import Decimal  # <1>

Decimal('1.1') * Decimal('1.1')
# => Decimal('1.21')