Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.1.0
-
None
-
windows-7
Description
QJsonObject obj;
obj.insert("dbl",double(73183493944884961));
double d = obj.value("dbl").toDouble();
qulonglong ul = d;
qulonglong ul2 = 73183493944884961;
qDebug () << ul << ul2;
//output : 73183493944884960 73183493944884961
Attachments
Issue Links
- relates to
-
QTBUG-31926 Number precision in QJsonDocument.toJson() is still not enough for double
- Closed