Fixed saving of QDecDouble numbers.
This commit is contained in:
+2
-2
@@ -10,8 +10,8 @@
|
||||
#define PERM_DELETE "DELETE"
|
||||
|
||||
#define DEC_MULTIPLE 100
|
||||
#define TO_DEC(num) QDecDouble((double)num / DEC_MULTIPLE)
|
||||
#define FROM_DEC(num) num.toDouble() * DEC_MULTIPLE
|
||||
#define TO_DEC(num) (QDecDouble(num) / QDecDouble(DEC_MULTIPLE))
|
||||
#define FROM_DEC(num) (num * QDecDouble(DEC_MULTIPLE)).toInt32()
|
||||
|
||||
#ifndef PLUGIN_ROOT
|
||||
#ifdef _WIN32
|
||||
|
||||
Reference in New Issue
Block a user