The boundary for all arithmetic in Kapom Report. Never write a + b directly in aggregate/computed/runningTotal — it must go through this strategy. The MVP uses nativeNumeric; migrating to decimal.js later won't need to touch the calling logic.
a + b
converts to a number, for jsPDF/Intl.NumberFormat at the very last point
The boundary for all arithmetic in Kapom Report. Never write
a + bdirectly in aggregate/computed/runningTotal — it must go through this strategy. The MVP uses nativeNumeric; migrating to decimal.js later won't need to touch the calling logic.