Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
BigNumber from
'bignumber.js'
;
2
3
const
formatNumber = (value: number | string) =>
4
new
BigNumber(value).toFormat();
5
6
export
default formatNumber;
Callers
4
index.js
File · 0.85
EditPermission
Function · 0.85
CustomSpendCap
Function · 0.85
CustomInput
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected