summaryrefslogtreecommitdiff
path: root/src/gnucash.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnucash.cc')
-rw-r--r--src/gnucash.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gnucash.cc b/src/gnucash.cc
index 91217699..29528013 100644
--- a/src/gnucash.cc
+++ b/src/gnucash.cc
@@ -187,11 +187,7 @@ static void endElement(void *, const char *name)
if (default_commodity) {
curr_quant.set_commodity(*default_commodity);
-#ifdef INTEGER_MATH
- value = curr_quant.round();
-#else
- value = curr_quant;
-#endif
+ value = curr_quant.rounded();
if (curr_value.commodity() == *default_commodity)
curr_value = value;