[−][src]Module bitcoin::util::decimal
Floating-point decimal type
i64
-based floating-point decimal type designed to hold Bitcoin
amounts. For satoshi amounts (8 decimal places) the maximum
amounts that can be represented is ~92.25bn, well over the 21m
maximum number of bitcoin in existence. Be aware that some
altcoins with different granularity may require a wider type.
Structs
Decimal | A fixed-point decimal type |
UDecimal | Unsigned fixed-point decimal type |