Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/util/mod.ts>formatNumber

Package publishing for deno.land/x/polkadot
Go to Latest
function formatNumber
import { formatNumber } from "https://deno.land/x/polkadot@0.2.11/util/mod.ts";

Type Parameters

ExtToBn extends ToBn

Parameters

optional
value:
| BN
| bigint
| number
| null

Returns

string