pub fn amount_to_hr_string(amount: u64, truncate: bool) -> String
Common method for converting an amount to a human-readable string