Function spl_token::amount_to_ui_amount_string

source ยท
pub fn amount_to_ui_amount_string(amount: u64, decimals: u8) -> String
Expand description

Convert a raw amount to its UI representation (using the decimals field defined in its mint)