summaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2011-10-06 22:07:01 -0700
committerCraig Earls <enderw88@gmail.com>2011-10-06 22:07:01 -0700
commitb400d65be082165f44e769605aa6a78133cf6d9a (patch)
tree27b18ee35a5c4f60a10cf4f626e15ac30276040b /src/amount.h
parente9ccb012c2c5ffe0e9f4916ee859bda95d9d4248 (diff)
parentf0791bbd7297e737d9e13d0b0bb21473b173b2a7 (diff)
downloadfork-ledger-b400d65be082165f44e769605aa6a78133cf6d9a.tar.gz
fork-ledger-b400d65be082165f44e769605aa6a78133cf6d9a.tar.bz2
fork-ledger-b400d65be082165f44e769605aa6a78133cf6d9a.zip
Merge remote branch 'upstream/next' into next
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amount.h b/src/amount.h
index 8a2ebf04..f7e877a7 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -349,7 +349,7 @@ public:
return temp;
}
void in_place_truncate();
-
+
/** Yields an amount which has lost all of its extra precision, beyond what
the display precision of the commodity would have printed. */
amount_t floored() const {
@@ -358,7 +358,7 @@ public:
return temp;
}
void in_place_floor();
-
+
/** Yields an amount whose display precision is never truncated, even
though its commodity normally displays only rounded values. */
amount_t unrounded() const {