Skip to content

@serenity-is/corelib / NumberFormat

Interface: NumberFormat

Interface for number formatting, similar to .NET's NumberFormatInfo

Extended by

Properties

currencySymbol?

optional currencySymbol: string

Currency symbol

Defined in

src/base/formatting.ts:20


decimalDigits?

optional decimalDigits: number

Number of digits after decimal separator

Defined in

src/base/formatting.ts:10


decimalSeparator

decimalSeparator: string

Decimal separator

Defined in

src/base/formatting.ts:6


groupSeparator?

optional groupSeparator: string

Group separator

Defined in

src/base/formatting.ts:8


nanSymbol?

optional nanSymbol: string

Zero symbol

Defined in

src/base/formatting.ts:16


negativeSign?

optional negativeSign: string

Negative sign

Defined in

src/base/formatting.ts:14


percentSymbol?

optional percentSymbol: string

Percentage symbol

Defined in

src/base/formatting.ts:18


positiveSign?

optional positiveSign: string

Positive sign

Defined in

src/base/formatting.ts:12