fixedfunction
A number as short text: two decimals at most, so a drawing is small.
Import it
import { fixed } from "@johnmorrisdotca/meikyuu/draw";
Definition
function fixed(n: number): string
Parameters
| Name | Type | Description |
|---|---|---|
n | number | The level number, random bound or surface subdivision specified by the signature. |
Returns
string
A number as short text: two decimals at most, so a drawing is small.
Examples
import { fixed } from "@johnmorrisdotca/meikyuu/draw";
console.log(fixed(1.23456));1.23What it prints (run when this page was built)