Currently hledger-iadd supports addition and subtraction of numbers in amount fields. This is an enhancement request to also support multiplication and division, since those are very useful for entering added taxes or split bills.
I propose recognizing the standard symbols * and / as the symbols respectively for multiplication and division (as opposed to, say, × and ÷, which are not easy to type).
One issue that will need some thinking through is that of rounding / how many significant digits after the decimal ought to be shown. I would suggest that the same logic used by hledger while displaying amounts be used by hledger-iadd while entering amounts.
Currently hledger-iadd supports addition and subtraction of numbers in amount fields. This is an enhancement request to also support multiplication and division, since those are very useful for entering added taxes or split bills.
I propose recognizing the standard symbols
*
and/
as the symbols respectively for multiplication and division (as opposed to, say,×
and÷
, which are not easy to type).One issue that will need some thinking through is that of rounding / how many significant digits after the decimal ought to be shown. I would suggest that the same logic used by hledger while displaying amounts be used by hledger-iadd while entering amounts.