What changed (plus any additional context for devs)
Alternative solution to the order of magnitude calculations that doesn't use log10 internally.
Added tests and confirmed an issue with the previous implementation where the order of magnitude was off by 1 for numbers < 1.
Fix div by zero crash
Capping input to 17 digits to prevent overflow & crahs
Fixes APP-1570 Fixes RNBW-4788 Fixes APP-1587
What changed (plus any additional context for devs)
Screen recordings / screenshots
https://github.com/rainbow-me/rainbow/assets/1247834/d9c45d7c-6151-450a-b418-e1e6fc575fb1
https://github.com/rainbow-me/rainbow/assets/1247834/3e52536a-6ca2-4940-8e5a-0503cd2eb6ef
https://github.com/rainbow-me/rainbow/assets/1247834/8e2fe0fa-6716-437f-9372-0d9416e29303
What to test