Files
patriothacks/src
OmO Orchestrator 8c434b5cb9 fix(fairshare): format every remaining displayed number to 2 decimals
The earlier fix only covered the CEEI allocation quantity (qty). Three
more unformatted numbers remained on the same screen: the wallet
balance, each tile's supply ("of X pool"), and the echoed need amount in
the post-submit status message - all raw, no .toFixed(), all capable of
showing many decimal digits (balance from any wallet.issue amount;
supply from a real cross-app settlement like Farms' LP/GDD forecast,
which is frequently non-round; the need echo straight from whatever a
resident types).

Fixed all three with .toFixed(2), matching the project's established
convention. New tests prove each with a genuinely non-round value (not
a coincidentally-clean fixture): a fractional wallet.issue amount, a
fractional seed.resource.food value modeling Farms' real forecast credit,
and a 9-decimal need amount typed into the real form and submitted via
the real UI.
2026-11-20 22:34:01 -05:00
..