Skip to content

@serenity-is/corelib / NumberFormat

Interface: NumberFormat

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

Hierarchy

Table of contents

Properties

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