MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / formatNumber

Function formatNumber

app/util/formatNumber.ts:3–4  ·  view source on GitHub ↗
(value: number | string)

Source from the content-addressed store, hash-verified

1import BigNumber from 'bignumber.js';
2
3const formatNumber = (value: number | string) =>
4 new BigNumber(value).toFormat();
5
6export default formatNumber;

Callers 4

index.jsFile · 0.85
EditPermissionFunction · 0.85
CustomSpendCapFunction · 0.85
CustomInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected