Module cfg_primitives::conversion
source · Functions§
- Transform a balance to a fixed point number. Inverse operation of
fixed_point_to_balance
- Converts a
uint
Balance
of one precision into aBalance
of another precision i.e: - Transform a fixed point number to a Balance. The resulting Balance will be represented with the
decimals
given.