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('

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

Parameters

NameType
numDecimalSource
precisionnumber

Returns

string

Defined in

profectus/src/util/break_eternity.ts:28


exponentialFormat

exponentialFormat(num, precision, mantissa?): string

Parameters

NameTypeDefault value
numDecimalSourceundefined
precisionnumberundefined
mantissabooleantrue

Returns

string

Defined in

profectus/src/util/break_eternity.ts:9


format

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

Parameters

NameType
numDecimalSource
precision?number
small?boolean

Returns

string

Defined in

profectus/src/util/break_eternity.ts:69


formatSmall

formatSmall(x, precision?): string

Parameters

NameType
xDecimalSource
precision?number

Returns

string

Defined in

profectus/src/util/break_eternity.ts:185


formatTime

formatTime(seconds): string

Parameters

NameType
secondsDecimalSource

Returns

string

Defined in

profectus/src/util/break_eternity.ts:130


formatWhole

formatWhole(num): string

Parameters

NameType
numDecimalSource

Returns

string

Defined in

profectus/src/util/break_eternity.ts:116


invertOOM

invertOOM(x): default

Parameters

NameType
xDecimalSource

Returns

default

Defined in

profectus/src/util/break_eternity.ts:189


regularFormat

regularFormat(num, precision): string

Parameters

NameType
numDecimalSource
precisionnumber

Returns

string

Defined in

profectus/src/util/break_eternity.ts:43


toPlaces

toPlaces(x, precision, maxAccepted): string

Parameters

NameType
xDecimalSource
precisionnumber
maxAcceptedDecimalSource

Returns

string

Defined in

profectus/src/util/break_eternity.ts:173

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