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

x/polkadot/mod.ts>util.formatNumber

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

Type Parameters

ExtToBn extends ToBn

Parameters

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

Returns

string