summaryrefslogtreecommitdiff
path: root/src/numerics/amount.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-21 20:45:13 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:39:06 -0400
commitd23ed020abf494a046b499cdce1c0957cd5b4783 (patch)
treebd9035df62b9ef7cbf77045bb018de8e33270fca /src/numerics/amount.h
parentfdfc37adf948415b6caad55c08e8313abd4e1b1b (diff)
downloadfork-ledger-d23ed020abf494a046b499cdce1c0957cd5b4783.tar.gz
fork-ledger-d23ed020abf494a046b499cdce1c0957cd5b4783.tar.bz2
fork-ledger-d23ed020abf494a046b499cdce1c0957cd5b4783.zip
Whitespace cleanup.
Diffstat (limited to 'src/numerics/amount.h')
-rw-r--r--src/numerics/amount.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/numerics/amount.h b/src/numerics/amount.h
index f4dbc9bd..1c8ef6d0 100644
--- a/src/numerics/amount.h
+++ b/src/numerics/amount.h
@@ -33,9 +33,9 @@
* @file amount.h
* @author John Wiegley
* @date Wed Apr 18 22:05:53 2007
- *
+ *
* @brief Basic type for handling commoditized math: amount_t.
- *
+ *
* This file contains the most basic numerical type in Ledger:
* amount_t, which relies upon commodity.h (commodity_t) for handling
* commoditized amounts. This class allows Ledger to handle
@@ -78,7 +78,7 @@ class amount_t
// jww (2007-05-03): Make this private, and then make
// ledger::initialize into a member function of session_t.
public:
- /**
+ /**
* The initialize and shutdown methods ready the amount subsystem
* for use. Normally they are called by `ledger::initialize' and
* `ledger::shutdown'.
@@ -347,7 +347,7 @@ public:
return *this;
}
- amount_t round(const optional<precision_t>& prec) const;
+ amount_t round(const optional<precision_t>& prec = none) const;
amount_t unround() const;
amount_t reduce() const {