oops, old email
On Mon, Feb 26, 2024 at 10:54 AM CD wrote:
> You wrote...
>
> "First comment; the code
>withdrawal_amount % 2 != 0"
>
> How about... fee_amount = withdrawal_amount % 10...
>
that's probably a good heuristic within the US, i don't think many ATMs
dispense denominations
I got it to work, unfortunately I don't have more than 2 ATM transactions
to test it on.
It was nice to figure out though. Having something like Beancount as an
impetus to write a Python script on something practical is kind fun and a
cool way for me to learn a bit about both (Python and
You wrote...
"First comment; the code
withdrawal_amount % 2 != 0"
How about... fee_amount = withdrawal_amount % 10...
I almost have a working script. I'll post the completed one up shortly.
On Monday, February 26, 2024 at 12:22:51 PM UTC-5 erical...@gmail.com wrote:
> First comment; the
First comment; the code
withdrawal_amount % 2 != 0
checks for "evenness" in the sense of odd (1, 3, 5) vs even (2, 4, 6)
numbers. This doesn't seem like what you'd want, since if your fee were
$5 and you withdraw $100, it would count it one way, but if the fee were $2
it would count it the
I don't like to carry much cash when I travel for business, so from time to
time I use my ATM card at a machine when I'm away and it charges a fee that
is included in the total.
ie - I get $500 cash but the full amount shows as one transaction of
$507.99 (the fee isn't separated)
I am trying