dyh-money-format
v1.3.3
Published
Example: ``` import { moneyFormat } from 'dyh-money-format' moneyFormat('1.2336', 3) // 1.234 ```
Downloads
9
Readme
Example:
import { moneyFormat } from 'dyh-money-format'
moneyFormat('1.2336', 3) // 1.234
| parameter | type | default | | --- | --- | --- | | money | number | string | | digit | number | 2 |