Skip to content

Vibe coding a plugin? Teach your agent Modlumi first. Works with Claude Code, Codex, Cursor and more.

FormatNumberOptions

Options of PluginContext.formatNumber.

optional decimals?: number

Digits after the decimal mark, from 0 to 20; as many as the number needs by default.


optional grouping?: boolean

Whether to separate digit groups as NumberFormat.grouping sizes them; true by default.