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