Skip to content

parsing float is local dependant #469

@gvollant

Description

@gvollant

In France, decimal separator is "," and not "."

strtod used in pugixml.cpp uses strtod which is local dependant

possible alternative:

  1. use own double parsing code like https://github.com/michael-hartmann/parsefloat
  2. use std::from_chars is c++17 is detected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions