Skip to content

%f formatting is missing #1224

Description

@coolreader18

Feature

'%f' printf-style formatting formats floats, including both sides of the decimal point and an optional precision argument. It should just be adding a format_float function in cformat.rs.

Python Documentation

https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-compatA discrepancy between RustPython and CPythonE-help-wantedExtra attention is neededgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions