features/wallet/zat_format library
Money formatting for ZEC amounts — INTEGER MATH ONLY.
A zatoshi is 1e-8 ZEC. Balances cross the bridge as i64 zatoshis
(Dart int, 64-bit on every supported host — web is out of scope for
this SDK, README § Building). Formatting NEVER routes through double:
IEEE-754 cannot represent most decimal ZEC values exactly, so a float
path silently mis-renders a balance — unacceptable for money. Max ZEC
supply (~21e6 ZEC ⇒ ~2.1e15 zat) is well inside int64, so plain
integer division is exact.