pattern

Function pattern 

Source
pub fn pattern(number: f64, pat: &str) -> Result<String>
Expand description

Formats number using the Pan pattern syntax.

Use # for digits, § for words, ¢ for cents digits, ~ for pluralization, and an optional trailing - or parentheses to control negative formatting.