diff options
Diffstat (limited to 'src/include/taler_amount_lib.h')
-rw-r--r-- | src/include/taler_amount_lib.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/taler_amount_lib.h b/src/include/taler_amount_lib.h index 37f42bd99..7118e2ecf 100644 --- a/src/include/taler_amount_lib.h +++ b/src/include/taler_amount_lib.h @@ -310,15 +310,16 @@ TALER_amount2s (const struct TALER_Amount *amount); /** - * Round the amount to something that can be - * transferred on the wire. + * Round the amount to something that can be transferred on the wire. * * @param[in,out] amount amount to round down + * @param max_fractional_digits number of fractional digits to round down to * @return #GNUNET_OK on success, #GNUNET_NO if rounding was unnecessary, * #GNUNET_SYSERR if the amount or currency was invalid */ int -TALER_amount_round (struct TALER_Amount *amount); +TALER_amount_round_down (struct TALER_Amount *amount, + uint8_t max_fractional_digits); #if 0 /* keep Emacsens' auto-indent happy */ |