Full analysis selected. Choose Quick brief to read the key points first.
WFN QUICK BRIEF · UNDER 1 MIN
The short version
MODE 2 OF 2
Choose the representation
PostgreSQL documents numeric for values where exactness is required, including monetary amounts. A declared scale can round on assignment. An integer in minor units also works where the currency and calculation scale are explicit. Fee rates and intermediate calculations may need more precision than the amount posted to a ledger. PostgreSQL · Numeric types ↗
Make the rounding point visible
Three illustrative fees of 0.005 rounded separately to cents at half-up become 0.03 in total. Summed before rounding, they become 0.02. The difference comes from policy and aggregation, even when all arithmetic is exact. Decide whether the fee rounds per fill, per order or per settlement batch.
Preserve audit inputs
Store the original amount and currency, calculation basis, rounding rule and posted amount. Reconcile per currency before converting for management reporting. Test credits, reversals and half-unit cases, and retain the pricing or conversion timestamp where foreign exchange is involved.
Quick Brief is a reading aid. The full article and source trail stay on this page.
01 · VERIFIED RECORD
Choose the representation
PostgreSQL documents numeric for values where exactness is required, including monetary amounts. A declared scale can round on assignment. An integer in minor units also works where the currency and calculation scale are explicit. Fee rates and intermediate calculations may need more precision than the amount posted to a ledger. PostgreSQL · Numeric types ↗
02 · WFN EDITORIAL ANALYSIS
Make the rounding point visible
Three illustrative fees of 0.005 rounded separately to cents at half-up become 0.03 in total. Summed before rounding, they become 0.02. The difference comes from policy and aggregation, even when all arithmetic is exact. Decide whether the fee rounds per fill, per order or per settlement batch.
03 · REVIEW POINTS
Preserve audit inputs
Store the original amount and currency, calculation basis, rounding rule and posted amount. Reconcile per currency before converting for management reporting. Test credits, reversals and half-unit cases, and retain the pricing or conversion timestamp where foreign exchange is involved.
Original WFN vector illustrationWFN · 9 November 2026
Reading tools and source notes
WFN STORY COMPASS
Choose your reading angle
Switch between the reported record, market context and open questions. Status labels distinguish claims from findings.
All context layers are visible. Choose a lens to jump to that part of the story.
Editorial noteSource-based explanation with original WFN analysis. Historical records retain their dates; numerical examples are illustrative. The original vector illustration is conceptual and is not documentary evidence.
WFN REALITY LEDGER
What is on the record?
Primary-source explainer
Primary-source explainer
Primary record / reference periodPostgreSQL · Numeric types