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"},i=r('
• default: Object
profectus/src/util/bignum.ts:46
Ƭ DecimalSource: DecimalSource
profectus/src/util/bignum.ts:18
▸ commaFormat(num
, precision
): string
Name | Type |
---|---|
num | DecimalSource |
precision | number |
string
profectus/src/util/break_eternity.ts:28
• commaFormat: (num
: DecimalSource
, precision
: number
) => string
profectus/src/util/bignum.ts:8
▸ exponentialFormat(num
, precision
, mantissa?
): string
Name | Type | Default value |
---|---|---|
num | DecimalSource | undefined |
precision | number | undefined |
mantissa | boolean | true |
string
profectus/src/util/break_eternity.ts:9
• exponentialFormat: (num
: DecimalSource
, precision
: number
, mantissa
: boolean
) => string
profectus/src/util/bignum.ts:7
▸ format(num
, precision?
, small?
): string
Name | Type |
---|---|
num | DecimalSource |
precision? | number |
small? | boolean |
string
profectus/src/util/break_eternity.ts:69
• format: (num
: DecimalSource
, precision?
: number
, small?
: boolean
) => string
profectus/src/util/bignum.ts:10
▸ formatSmall(x
, precision?
): string
Name | Type |
---|---|
x | DecimalSource |
precision? | number |
string
profectus/src/util/break_eternity.ts:185
• formatSmall: (x
: DecimalSource
, precision?
: number
) => string
profectus/src/util/bignum.ts:14
▸ formatTime(seconds
): string
Name | Type |
---|---|
seconds | DecimalSource |
string
profectus/src/util/break_eternity.ts:130
• formatTime: (seconds
: DecimalSource
) => string
profectus/src/util/bignum.ts:12
▸ formatWhole(num
): string
Name | Type |
---|---|
num | DecimalSource |
string
profectus/src/util/break_eternity.ts:116
• formatWhole: (num
: DecimalSource
) => string
profectus/src/util/bignum.ts:11
▸ invertOOM(x
): default
Name | Type |
---|---|
x | DecimalSource |
profectus/src/util/break_eternity.ts:189
• invertOOM: (x
: DecimalSource
) => default
profectus/src/util/bignum.ts:15
▸ regularFormat(num
, precision
): string
Name | Type |
---|---|
num | DecimalSource |
precision | number |
string
profectus/src/util/break_eternity.ts:43
• regularFormat: (num
: DecimalSource
, precision
: number
) => string
profectus/src/util/bignum.ts:9
▸ toPlaces(x
, precision
, maxAccepted
): string
Name | Type |
---|---|
x | DecimalSource |
precision | number |
maxAccepted | DecimalSource |
string
profectus/src/util/break_eternity.ts:173
• toPlaces: (x
: DecimalSource
, precision
: number
, maxAccepted
: DecimalSource
) => string