[][src]Function steel_cent::formatting::uk_style

pub fn uk_style() -> &'static FormatSpec

A format for the United Kingdom, using the pound sign in place of "GBP."

assert_eq!("£1,234.56",
           format(uk_style(), &Money::of_minor(GBP, 123456)));
assert_eq!("EUR1,234.56",
           format(uk_style(), &Money::of_minor(EUR, 123456)));
assert_eq!("-£1,234.56",
           format(uk_style(), &Money::of_minor(GBP, -123456)));