Prompt·Agent harness and modern stack·G05

Rounding and unit mix-ups

Finds money and percentage values that change scale or lose precision along the way.

Markdown
Prompt
Trace calculations involving currency, percentages, basis points, share counts, weights, or rates across storage, transformation, and UI display. Identify where binary floating-point math is used instead of exact decimal or integer types, where premature rounding compounds across aggregations, or where scale conventions (0.05 versus 5.0 for 5%, cents versus dollars) are ambiguous across boundaries.
What it returns
Each value's unit at every hop, with any hop where the unit or rounding changes.
Skip it when
Apps with no money, rates or counts.
Changes
Changes nothing
Sessions
One session
Tools
Repository and read-only access to the database layout.
Also called
Numerical precision and unit drift

Related prompts

More in Agent harness and modern stack.