Fixed saving of QDecDouble numbers.

This commit is contained in:
2017-10-13 12:53:15 +02:00
parent 5ebea2f7c9
commit 8e7137f3bb
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -153,6 +153,10 @@ class QDECIMAL_EXPORT QDecDouble
}
double toDouble() const;
int32_t toInt32(QDecContext* c = 0) const {
return decDoubleToInt32(&m_data, CXT(c), DEC_ROUND_HALF_UP);
}
QByteArray toEngString() const {
char str[MaxStrSize] = { 0 };