pub fn metric() -> Self {
        Scales {
            base: 1000,
            units: vec![" ", " k", " M", " G", " T", " P", " E", " Z", " Y"],
        }
    }
/// Create a metric SI scale.
///
/// The [SI scale](https://en.wikipedia.org/wiki/International_System_of_Units#Prefixes)
/// steps with base `1000`. It is intended for use as a units prefix, so the empty base
/// contains a space.
///
/// # Example
/// ```rust
/// # use numfmt::*;
/// let mut f = Formatter::new().scales(Scales::metric());
/// assert_eq!(f.fmt(123456.0), "123.456 k");
/// assert_eq!(f.fmt(123456789.0), "123.456789 M");
/// ```
Create a metric SI scale.
The [SI scale]
steps with base `1000`. It is intended for use as a units prefix, so the empty base
contains a space.
Create a metric SI scale . The [ SI scale ] steps with base ` 1000 ` . It is intended for use as a units prefix so the empty base contains a space .
pub fn metric() -> Self {
        Scales {
            base: 1000,
            units: vec![" ", " k", " M", " G", " T", " P", " E", " Z", " Y"],
        }
    }
pub fn metric ( ) -> Self { Scales { base : 1000 , units : vec ! [ " " " " " " " " " " " " " " " " " " ] , } }
Create a metric SI scale.
Create a metric SI scale .
example
None
use numfmt::*;
None