mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-05 16:07:33 +00:00
Persist BALANCE_RECHARGE_MULTIPLIER with up to 6 decimal places so operators can track a live FX rate (e.g. 1 USD = 7.100000 CNY -> 0.140845). Values with more than 6 decimals are rejected instead of being silently truncated. Credited balance still rounds to settlement-currency precision, so order and ledger semantics are unchanged. Adds backend unit tests and a frontend formatter test; updates the admin input step/preview and the checkout rate display.