diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-11 03:39:53 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-11 03:39:53 -0500 |
commit | afe87280e091d4f094f068c5f21aecccd2d1831b (patch) | |
tree | 4be3e5c9bbcc9b450a6c0eea3f6b959daab22757 /src/py_balance.cc | |
parent | 4a4ff9d4b21e7ed94524314ca496bd17c84fc4ed (diff) | |
download | fork-ledger-afe87280e091d4f094f068c5f21aecccd2d1831b.tar.gz fork-ledger-afe87280e091d4f094f068c5f21aecccd2d1831b.tar.bz2 fork-ledger-afe87280e091d4f094f068c5f21aecccd2d1831b.zip |
Added floored() and in_place_floor() methods
Diffstat (limited to 'src/py_balance.cc')
-rw-r--r-- | src/py_balance.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/py_balance.cc b/src/py_balance.cc index 73049c99..23a2ff73 100644 --- a/src/py_balance.cc +++ b/src/py_balance.cc @@ -176,6 +176,10 @@ void export_balance() .def("in_place_truncate", &balance_t::in_place_truncate, return_internal_reference<>()) + .def("floored", &balance_t::floored) + .def("in_place_floor", &balance_t::in_place_floor, + return_internal_reference<>()) + .def("unrounded", &balance_t::unrounded) .def("in_place_unround", &balance_t::in_place_unround, return_internal_reference<>()) |