import{_ as e,c as t,o as a,a as r}from"./app.54d5a277.js";const b='{"title":"Module: util/bignum","description":"","frontmatter":{},"headers":[{"level":2,"title":"References","slug":"references"},{"level":3,"title":"default","slug":"default"},{"level":2,"title":"Type aliases","slug":"type-aliases"},{"level":3,"title":"DecimalSource","slug":"decimalsource"},{"level":2,"title":"Functions","slug":"functions"},{"level":3,"title":"commaFormat","slug":"commaformat"},{"level":3,"title":"exponentialFormat","slug":"exponentialformat"},{"level":3,"title":"format","slug":"format"},{"level":3,"title":"formatSmall","slug":"formatsmall"},{"level":3,"title":"formatTime","slug":"formattime"},{"level":3,"title":"formatWhole","slug":"formatwhole"},{"level":3,"title":"invertOOM","slug":"invertoom"},{"level":3,"title":"regularFormat","slug":"regularformat"},{"level":3,"title":"toPlaces","slug":"toplaces"}],"relativePath":"api/modules/util/bignum.md"}',d={},i=r('
Renames and re-exports Decimal
\u01AC DecimalSource: DecimalSource
profectus/src/util/bignum.ts:18
\u25B8 commaFormat(num
, precision
): string
Name | Type |
---|---|
num | DecimalSource |
precision | number |
string
profectus/src/util/break_eternity.ts:27
\u25B8 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:8
\u25B8 format(num
, precision?
, small?
): string
Name | Type |
---|---|
num | DecimalSource |
precision? | number |
small? | boolean |
string
profectus/src/util/break_eternity.ts:65
\u25B8 formatSmall(x
, precision?
): string
Name | Type |
---|---|
x | DecimalSource |
precision? | number |
string
profectus/src/util/break_eternity.ts:181
\u25B8 formatTime(seconds
): string
Name | Type |
---|---|
seconds | DecimalSource |
string
profectus/src/util/break_eternity.ts:126
\u25B8 formatWhole(num
): string
Name | Type |
---|---|
num | DecimalSource |
string
profectus/src/util/break_eternity.ts:112
\u25B8 invertOOM(x
): Decimal
Name | Type |
---|---|
x | DecimalSource |
profectus/src/util/break_eternity.ts:185
\u25B8 regularFormat(num
, precision
): string
Name | Type |
---|---|
num | DecimalSource |
precision | number |
string
profectus/src/util/break_eternity.ts:42
\u25B8 toPlaces(x
, precision
, maxAccepted
): string
Name | Type |
---|---|
x | DecimalSource |
precision | number |
maxAccepted | DecimalSource |
string