Function dao::utils::per_mil_of_as_u32
source · pub fn per_mil_of_as_u32<T: Into<Balance>, R: Into<Balance>>(
number: T,
other: R
) -> Result<u32, Error>
Expand description
Multiplies two number and return per mile of their product casted as u32.