Skip to content
On this page

Module: util/break_eternity

References

default

Re-exports default

Functions

commaFormat

commaFormat(num, precision): string

NameType
numDecimalSource
precisionnumber

Defined in

profectus/src/util/break_eternity.ts:28


exponentialFormat

exponentialFormat(num, precision, mantissa?): string

NameTypeDefault value
numDecimalSourceundefined
precisionnumberundefined
mantissabooleantrue

Defined in

profectus/src/util/break_eternity.ts:9


format

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

NameType
numDecimalSource
precision?number
small?boolean

Defined in

profectus/src/util/break_eternity.ts:69


formatSmall

formatSmall(x, precision?): string

NameType
xDecimalSource
precision?number

Defined in

profectus/src/util/break_eternity.ts:185


formatTime

formatTime(seconds): string

NameType
secondsDecimalSource

Defined in

profectus/src/util/break_eternity.ts:130


formatWhole

formatWhole(num): string

NameType
numDecimalSource

Defined in

profectus/src/util/break_eternity.ts:116


invertOOM

invertOOM(x): default

NameType
xDecimalSource

Defined in

profectus/src/util/break_eternity.ts:189


regularFormat

regularFormat(num, precision): string

NameType
numDecimalSource
precisionnumber

Defined in

profectus/src/util/break_eternity.ts:43


toPlaces

toPlaces(x, precision, maxAccepted): string

NameType
xDecimalSource
precisionnumber
maxAcceptedDecimalSource

Defined in

profectus/src/util/break_eternity.ts:173