Skip to content

Enumeration: CurrencyFormat

Defined in: schema.ts:412

Enumeration of formats supported by schemas that use ValueHintType.Currency.

These affect how a numeric value is rendered in docs.

Enumeration Members

Accounting

Accounting: "accounting"

Defined in: schema.ts:426

Indicates the value should be rendered as a number with a currency symbol as a prefix, but padded to allow the numeric values to line up vertically, e.g.

$       2.50
$      29.99

Currency

Currency: "currency"

Defined in: schema.ts:416

Indicates the value should be rendered as a number with a currency symbol as a prefix, e.g. $2.50.


Financial

Financial: "financial"

Defined in: schema.ts:430

Indicates the value should be rendered as a number without a currency symbol, e.g. 2.50.