From afe87280e091d4f094f068c5f21aecccd2d1831b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 11 Nov 2009 03:39:53 -0500 Subject: Added floored() and in_place_floor() methods --- src/py_amount.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/py_amount.cc') diff --git a/src/py_amount.cc b/src/py_amount.cc index 83f5dd29..b44f3716 100644 --- a/src/py_amount.cc +++ b/src/py_amount.cc @@ -220,6 +220,10 @@ internal precision.")) .def("in_place_truncate", &amount_t::in_place_truncate, return_internal_reference<>()) + .def("floored", &amount_t::floored) + .def("in_place_floor", &amount_t::in_place_floor, + return_internal_reference<>()) + .def("unrounded", &amount_t::unrounded) .def("in_place_unround", &amount_t::in_place_unround, return_internal_reference<>()) -- cgit v1.2.3