pub fn new() -> Self {
        Self {
            strbuf: vec![0; BUF_LEN],
            thou_sep: None,
            start: 0,
            precision: Precision::Unspecified,
            scales: Scales::none(),
            suffix: [0; SUFFIX_LIM],
            suffix_len: 0,
            convert: |x| x,
        }
    }
/// Construct a new formatter.
///
/// No scaling is set, so this is only does a single allocation for the buffer.
///
/// # Example
/// ```rust
/// # use numfmt::*;
/// let mut f = Formatter::new();
/// assert_eq!(f.fmt(12345.6789), "12345.6789");
/// ```
Construct a new formatter.
No scaling is set, so this is only does a single allocation for the buffer.
Construct a new formatter . No scaling is set so this is only does a single allocation for the buffer .
pub fn new() -> Self {
        Self {
            strbuf: vec![0; BUF_LEN],
            thou_sep: None,
            start: 0,
            precision: Precision::Unspecified,
            scales: Scales::none(),
            suffix: [0; SUFFIX_LIM],
            suffix_len: 0,
            convert: |x| x,
        }
    }
pub fn new ( ) -> Self { Self { strbuf : vec ! [ 0 BUF_LEN ] , thou_sep : None , start : 0 , precision : Precision :: Unspecified , scales : Scales :: none ( ) , suffix : [ 0 ; SUFFIX_LIM ] , suffix_len : 0 , convert : | x | x , } }
Construct a new formatter.
Construct a new formatter .
example
None
use numfmt::*;
None