loading...

re: Daily Challenge #49 - Dollars and Cents VIEW POST

FULL DISCUSSION
 

Rust Function:

fn format_dollar(price: f32) -> String {
    format!("${:.2}", price)
}
Code of Conduct Report abuse