import{_ as e,c as t,o as a,N as r}from"./chunks/framework.0799945b.js";const b=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('

Module: util/bignum

References

default

Re-exports default

Type Aliases

DecimalSource

Ƭ DecimalSource: DecimalSource

Defined in

profectus/src/util/bignum.ts:18

Functions

commaFormat

commaFormat(num, precision): string

NameType
numDecimalSource
precisionnumber

Defined in

profectus/src/util/bignum.ts:8


exponentialFormat

exponentialFormat(num, precision, mantissa?): string

NameTypeDefault value
numDecimalSourceundefined
precisionnumberundefined
mantissabooleantrue

Defined in

profectus/src/util/bignum.ts:7


format

format(num, precision?, small?): string

NameType
numDecimalSource
precision?number
small?boolean

Defined in

profectus/src/util/bignum.ts:10


formatSmall

formatSmall(x, precision?): string

NameType
xDecimalSource
precision?number

Defined in

profectus/src/util/bignum.ts:14


formatTime

formatTime(seconds): string

NameType
secondsDecimalSource

Defined in

profectus/src/util/bignum.ts:12


formatWhole

formatWhole(num): string

NameType
numDecimalSource

Defined in

profectus/src/util/bignum.ts:11


invertOOM

invertOOM(x): default

NameType
xDecimalSource

Defined in

profectus/src/util/bignum.ts:15


regularFormat

regularFormat(num, precision): string

NameType
numDecimalSource
precisionnumber

Defined in

profectus/src/util/bignum.ts:9


toPlaces

toPlaces(x, precision, maxAccepted): string

NameType
xDecimalSource
precisionnumber
maxAcceptedDecimalSource

Defined in

profectus/src/util/bignum.ts:13

',63),i=[l];function d(n,c,s,h,f,u){return a(),t("div",null,i)}const g=e(o,[["render",d]]);export{b as __pageData,g as default};