We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There're 2 main decimal separators: comma and dot:
https://en.wikipedia.org/wiki/Decimal_separator#Countries_using_decimal_comma
If you save XML on e.g. UK locale computer and send that to a person in PL, then double values are gonna be converted to INT
char decimalComma[] = "123,123"; char decimalPoint[] = "123.123";
qDebug() << "--------" << strtod(decimalComma, 0) << strtod(decimalPoint, 0);
output depends on a locale:
it would be great if pugixml would handle that internally. We use QByteArrayView::toDouble() as a bypass for now.
The text was updated successfully, but these errors were encountered:
Duplicate of #469
Sorry, something went wrong.
No branches or pull requests
There're 2 main decimal separators: comma and dot:
https://en.wikipedia.org/wiki/Decimal_separator#Countries_using_decimal_comma
If you save XML on e.g. UK locale computer and send that to a person in PL, then double values are gonna be converted to INT
char decimalComma[] = "123,123";
char decimalPoint[] = "123.123";
qDebug() << "--------" << strtod(decimalComma, 0) << strtod(decimalPoint, 0);
output depends on a locale:
it would be great if pugixml would handle that internally. We use QByteArrayView::toDouble() as a bypass for now.
The text was updated successfully, but these errors were encountered: