Function spl_token::amount_to_ui_amount_string_trimmed
source · [−]Expand description
Convert a raw amount to its UI representation using the given decimals field Excess zeroes or unneeded decimal point are trimmed.