Skip to content

Tomlyn modifies the double value by converting it from the model to a string using explicit formatting. #108

@pflajs

Description

@pflajs

double test = 126.92842769438576
deserialize toml
result double: 126.9284276943858

Problem maybe in:
TomlFormatHelper. ToString(double value)

(value.ToString("g16", CultureInfo.InvariantCulture)

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR welcomeUser contribution/PR is welcomeenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions