"qm-api-description"><div class="qm-html-paragraph">A function to format a number to a specific number of decimal places. <div class="qm-code-highlight-codeblock language-js"><pre><code class="qm-code-font">hx.format.fixed(<span class="hljs-number">3</span>)(<span class="hljs-number">999</span>) <span class="hljs-comment">// Returns "999.000"</span>
hx.format.fixed(<span class="hljs-number">3</span>)(<span class="hljs-number">12.123123</span>) <span class="hljs-comment">// Returns "12.123"</span></code></pr