Interface IsCurrencyOptions

Hierarchy

  • IsCurrencyOptions

Properties

allow_decimal?: boolean

Default

true

allow_negative_sign_placeholder?: boolean

Default

false

allow_negatives?: boolean

Default

true

allow_space_after_digits?: boolean

Default

false

allow_space_after_symbol?: boolean

Default

false

decimal_separator?: string

Default

'.'

digits_after_decimal?: number[]

The array digits_after_decimal is filled with the exact number of digits allowed not a range, for example a range 1 to 3 will be given as [1, 2, 3].

Default

[2]

negative_sign_after_digits?: boolean

Default

false

negative_sign_before_digits?: boolean

Default

false

parens_for_negatives?: boolean

Default

false

require_decimal?: boolean

Default

false

require_symbol?: boolean

Default

false

symbol?: string

Default

'$'

symbol_after_digits?: boolean

Default

false

thousands_separator?: string

Default

','

Generated using TypeDoc