Struct human_format::Formatter [] [src]

pub struct Formatter { /* fields omitted */ }

Entry point to the lib. Use this to handle your formatting needs.

Methods

impl Formatter
[src]

[src]

Initializes a new Formatter with default values.

[src]

Sets the decimals value for formatting the string.

[src]

Sets the separator value for formatting the string.

[src]

Sets the scales value.

[src]

Sets the units value.

[src]

Sets the expected suffix value.

[src]

Formats the number into a string

[src]

Parse a string back into a float value.

Trait Implementations

impl Debug for Formatter
[src]

[src]

Formats the value using the given formatter.