HomePhabricator

[Cashtab] Add commas to formatted displays of large numbers

Description

[Cashtab] Add commas to formatted displays of large numbers

Summary: Add new formatBalance function to cashMethods.js to add commas to displayed values of large numbers. Add unit tests. Implement for tokens as well.

Test Plan: npm test

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D9283

Details

Provenance
Joey King <joseph.roy.king@gmail.com>Authored on Feb 26 2021, 23:34
bytesofmanPushed on Mar 1 2021, 19:23
Reviewer
Restricted Project
Differential Revision
D9283: [Cashtab] Add commas to formatted displays of large numbers
Parents
rABC5ab1c1ba38c0: validation: delay flushing undo files in syncing node case
Branches
Unknown
Tags
Unknown