AmountΒΆ

For the sake of easier handling of Assets on the blockchain

from steempy.amount import Amount
from steempy.asset import Asset
a = Amount("1 USD")
b = Amount(1, "USD")
c = Amount("20", Asset("USD"))
a + b
a * 2
a += b
a /= 2.0