Skip to content

'L' specifier throws exception when formatting double #1624

Closed
@dconnet

Description

@dconnet

libfmt 6.2.0, VS2019

double xx = 1.2;
std::wstring tmp = fmt::format(std::locale("en_US"), L"{:L}", xx);

will throw "invalid type specifier". (if 'xx' is of type 'int', it works as expected)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions