Function spl_token::amount_to_ui_amount [−][src]
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)