FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    number_format

    module · ferroui-base · v0.5.0

    module number_format
    

    Formatting and parsing of Decimal numbers with the rules of the managed runtime: the standard numeric format strings (C, E, F, G, N, P, R), custom numeric format strings, composite format strings with one decimal argument, and parsing with NumberStyles.

    Formatting rounds midpoints away from zero, as the managed runtime does when it formats (arithmetic and parsing round them to even).

    View source

    Contents

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.