Table of Contents

Enum SheetNumberFormat

Namespace
TwBlazor.Enums
Assembly
TwBlazor.dll

Defines how a number in a TwSpreadsheet cell is shown. Only the display changes: the cell keeps the full number for formulas.

public enum SheetNumberFormat

Fields

Currency = 2

Shows the number as an amount of money with the culture's currency symbol, such as £1,234.50.

General = 0

Shows the number as it is, with up to ten significant digits.

Number = 1

Shows the number with two decimal places and thousands separators, such as 1,234.50.

Percent = 3

Shows the number multiplied by 100 with a percent sign, such as 12.50% for 0.125.

Remarks

Numbers are shown in the culture the app is localized to, so the decimal separator and the currency symbol follow it.