solana_account_decoder::parse_token

Function real_number_string_trimmed

Source
pub fn real_number_string_trimmed(amount: u64, decimals: u8) -> String