Repository navigation
Releases
Releases · stared/currex
Currency class redesign
Redesigned and refactored currencies so that each currency is an instance of Currency instead of a subclass. It improves both code clarity and allows us to define currencies as follows:
from currex import Currency
USD = Currency("USD") # one dollar
money = Currency("USD", 100) # USD(100.00)
money.to("EUR") # EUR(95.30)Improved interactive example and readme.
Display digits and code linting
v0.1.2 version 0.1.2
Installation and test misc fix
v0.1.1a one more version fix