pub trait Separatable {
// Required method
fn separated_string(&self) -> String;
}
Expand description
Used for numbers that can be printed with separators for the thousands places.
Required Methods§
Sourcefn separated_string(&self) -> String
fn separated_string(&self) -> String
Converts the number to a string with thousands separator.