Function spl_token_2022::amount_to_ui_amount
source · pub fn amount_to_ui_amount(amount: u64, decimals: u8) -> f64
Expand description
Convert a raw amount to its UI representation (using the decimals field defined in its mint)
pub fn amount_to_ui_amount(amount: u64, decimals: u8) -> f64
Convert a raw amount to its UI representation (using the decimals field defined in its mint)