officefileapi-devexpress-dot-spreadsheet-dot-pivotfield-a4c01bf4.md
Specifies a local number format used to display numeric values (for example, date and time) within the PivotTable field.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
string NumberFormatLocal { get; set; }
Property NumberFormatLocal As String
| Type | Description |
|---|---|
| String |
The number format to apply to the pivot field.
|
The Spreadsheet allows you to use Microsoft Excel number formats to format numeric values within a row, column, or page field. Use the NumberFormatLocal property to specify a number format based on the local culture defined by the DocumentOptions.Culture property. The PivotField.NumberFormat option allows you to obtain or specify a number format in the invariant culture.
To apply a number format to a data field, use the PivotDataField.NumberFormat or PivotDataField.NumberFormatLocal property.
See Also