format function
`value` written the way `w` is: its separators, grouping, decimals and leading zeros.
import { format } from '@dioramajs/text/counter'function format(value: number, w: Written): stringParameters
| Name | Type | Description |
|---|---|---|
value | number | |
w | Written |
Defined in packages/text/src/counter.ts.