[][src]Function steel_cent::formatting::generic_style

pub fn generic_style() -> &'static FormatSpec

A generic (US- and UK-friendly) readable style with no short symbol mappings.

assert_eq!("1,234.56\u{a0}GBP",
           format(generic_style(), &Money::of_minor(GBP, 123456)));
assert_eq!("-1,234.56\u{a0}GBP",
           format(generic_style(), &Money::of_minor(GBP, -123456)));