wheels function
Odometer drums for `units` (the value in its smallest decimal): drum 0 turns with the value, each drum above turns only while the one below goes from 9 to 0.
import { wheels } from '@dioramajs/text/counter'. One more drum than n.
function wheels(units: number, n: number): number[]Parameters
| Name | Type | Description |
|---|---|---|
units | number | |
n | number |
Defined in packages/text/src/counter.ts.