From Dev.to
Minimum deposit in integer cents: round the percentage up, never down
A small calculation with a sharp edge: how much deposit should a business ask for on a big order so its cash never drops below a safety reserve? The rule is short: spare cash = cash in the bank − rese...
