profectus-docs/assets/api_modules_util_break_eternity.md.4fa7bd6f.js

2 lines
18 KiB
JavaScript
Raw Normal View History

import{_ as e,c as t,o as a,N as r}from"./chunks/framework.0799945b.js";const m=JSON.parse('{"title":"Module: util/break_eternity","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/util/break_eternity.md","lastUpdated":null}'),o={name:"api/modules/util/break_eternity.md"},i=r('<h1 id="module-util-break-eternity" tabindex="-1">Module: util/break_eternity <a class="header-anchor" href="#module-util-break-eternity" aria-label="Permalink to &quot;Module: util/break\\_eternity&quot;"></a></h1><h2 id="references" tabindex="-1">References <a class="header-anchor" href="#references" aria-label="Permalink to &quot;References&quot;"></a></h2><h3 id="default" tabindex="-1">default <a class="header-anchor" href="#default" aria-label="Permalink to &quot;default&quot;"></a></h3><p> <strong>default</strong>: <code>Object</code></p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/util/break_eternity.ts#L5" target="_blank" rel="noreferrer">profectus/src/util/break_eternity.ts:5</a></p><h2 id="functions" tabindex="-1">Functions <a class="header-anchor" href="#functions" aria-label="Permalink to &quot;Functions&quot;"></a></h2><h3 id="commaformat" tabindex="-1">commaFormat <a class="header-anchor" href="#commaformat" aria-label="Permalink to &quot;commaFormat&quot;"></a></h3><p> <strong>commaFormat</strong>(<code>num</code>, <code>precision</code>): <code>string</code></p><h4 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>num</code></td><td style="text-align:left;"><a href="./../lib/break_eternity#decimalsource"><code>DecimalSource</code></a></td></tr><tr><td style="text-align:left;"><code>precision</code></td><td style="text-align:left;"><code>number</code></td></tr></tbody></table><h4 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h4><p><code>string</code></p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/util/break_eternity.ts#L28" target="_blank" rel="noreferrer">profectus/src/util/break_eternity.ts:28</a></p><p> <strong>commaFormat</strong>: (<code>num</code>: <a href="./../lib/break_eternity#decimalsource"><code>DecimalSource</code></a>, <code>precision</code>: <code>number</code>) =&gt; <code>string</code></p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/util/break_eternity.ts#L28" target="_blank" rel="noreferrer">profectus/src/util/break_eternity.ts:28</a></p><hr><h3 id="exponentialformat" tabindex="-1">exponentialFormat <a class="header-anchor" href="#exponentialformat" aria-label="Permalink to &quot;exponentialFormat&quot;"></a></h3><p> <strong>exponentialFormat</strong>(<code>num</code>, <code>precision</code>, <code>mantissa?</code>): <code>string</code></p><h4 id="parameters-1" tabindex="-1">Parameters <a class="header-anchor" href="#parameters-1" aria-label="Permalink to &quot;Parameters&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th><th style="text-align:left;">Default value</th></tr></thead><tbody><tr><td style="text-align:left;"><code>num</code></td><td style="text-align:left;"><a href="./../lib/break_eternity#decimalsource"><code>DecimalSource</code></a></td><td style="text-align:left;"><code>undefined</code></td></tr><tr><td