Interface IExcelNumberFormatProvider
This interface is used to provide number formats for ranges in runtime. The number formats are mapped to a number that can be used to refer to a specific format.
Namespace: OfficeOpenXml.LoadFunctions
Assembly: EPPlus.dll
Syntax
public interface IExcelNumberFormatProvider
Methods
GetFormat(Int32)
Returns a number format by its numberFormatId
Declaration
string GetFormat(int numberFormatId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | numberFormatId |
Returns
Type | Description |
---|---|
System.String | A number format that can be used on ranges |