Skip to main content

format

Function format 

Source
pub fn format(amount: f64) -> String
Expand description

US dollars, the way Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }) prints them.