Skip to content

std::stod considers locale #8

Closed
@Murmele

Description

@Murmele

I have a german system and therefore "," is used as decimal separator. In this case std::stod expects "," as decimal separator, but the dbc file uses always ".".

Therefore a different approach for converting doubles has to be used

https://stackoverflow.com/questions/12316972/how-to-tweak-stdstod-string-to-double-for-decimal-separator-and-number-of-di

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions