import{_ as e,c as t,o as a,N as r}from"./chunks/framework.0799945b.js";const m=JSON.parse('{"title":"Module: util/bignum","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/util/bignum.md","lastUpdated":null}'),o={name:"api/modules/util/bignum.md"},l=r('
Re-exports default
Ƭ DecimalSource: DecimalSource
profectus/src/util/bignum.ts:18
▸ commaFormat(num
, precision
): string
Name | Type |
---|---|
num | DecimalSource |
precision | number |
profectus/src/util/bignum.ts:8
▸ exponentialFormat(num
, precision
, mantissa?
): string
Name | Type | Default value |
---|---|---|
num | DecimalSource | undefined |
precision | number | undefined |
mantissa | boolean | true |
profectus/src/util/bignum.ts:7
▸ format(num
, precision?
, small?
): string
Name | Type |
---|---|
num | DecimalSource |
precision? | number |
small? | boolean |
profectus/src/util/bignum.ts:10
▸ formatSmall(x
, precision?
): string
Name | Type |
---|---|
x | DecimalSource |
precision? | number |
profectus/src/util/bignum.ts:14
▸ formatTime(seconds
): string
Name | Type |
---|---|
seconds | DecimalSource |
profectus/src/util/bignum.ts:12
▸ formatWhole(num
): string
Name | Type |
---|---|
num | DecimalSource |
profectus/src/util/bignum.ts:11
▸ invertOOM(x
): default
Name | Type |
---|---|
x | DecimalSource |
profectus/src/util/bignum.ts:15
▸ regularFormat(num
, precision
): string
Name | Type |
---|---|
num | DecimalSource |
precision | number |
profectus/src/util/bignum.ts:9
▸ toPlaces(x
, precision
, maxAccepted
): string
Name | Type |
---|---|
x | DecimalSource |
precision | number |
maxAccepted | DecimalSource |