Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

CellValueToStringConverter.SetPreferredNumberFormat(IWorkbook, String) Method

Specifies the number format used for string representation of numeric values.

Namespace: DevExpress.Spreadsheet.Export

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

public void SetPreferredNumberFormat(
    IWorkbook workbook,
    string excelNumberFormat
)

Parameters

Name Type Description
workbook IWorkbook

An IWorkbook object that is the current workbook.

excelNumberFormat String

A string that is one of the standard format strings used in Microsoft Excel.

See Also