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

x/polkadot/util/format/formatNumber.ts>formatNumber

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

Type Parameters

ExtToBn extends ToBn

Parameters

optional
value:
| BN
| bigint
| number
| null
optional
unnamed 1: Options = [UNSUPPORTED]

Returns

string