Skip to content

Use %#g format string for floating and fixed point types #25

@jimkring

Description

@jimkring

For example: 2647141 stored as a ‘single float’ becomes “2.64714E+6” in the JSON string, resulting in loss of precision. Changing the formatting of floats and fixed point types to %#g solves this.

Side note: This is what EasyXML does and it works great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions