
Stop your agent doing money maths in floats: pence, an allocate function and properties that keep the books balanced
Agent-written TypeScript splits a 100.00 bill three ways and loses a penny. A small money module, a spec with worked examples and two property checks fix it, in about 15 minutes.
12 min read