Click or drag to resize
PicoXLSX

StyleNumberFormatFormatNumber Class

Enum for predefined number formats
Inheritance Hierarchy
SystemObject
  SystemValueType
    SystemEnum
      PicoXLSXStyleNumberFormatFormatNumber

Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 3.2.1+e0edc719a6aeecf6c989e5a57750c75d6f3175bb
Syntax
C#
public sealed class FormatNumber : Enum

The StyleNumberFormatFormatNumber type exposes the following members.

Methods
 NameDescription
Public methodCompareToCompares this instance to a specified object and returns an indication of their relative values.
(Inherited from Enum)
Public methodEqualsReturns a value indicating whether this instance is equal to a specified object.
(Inherited from Enum)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeReturns the hash code for the value of this instance.
(Inherited from Enum)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetTypeCodeReturns the type code of the underlying type of this enumeration member.
(Inherited from Enum)
Public methodHasFlagDetermines whether one or more bit fields are set in the current instance.
(Inherited from Enum)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringConverts the value of this instance to its equivalent string representation.
(Inherited from Enum)
Public methodToString(IFormatProvider)Obsolete.
This method overload is obsolete; use ToString.
(Inherited from Enum)
Public methodToString(String)Converts the value of this instance to its equivalent string representation using the specified format.
(Inherited from Enum)
Public methodToString(String, IFormatProvider)Obsolete.
This method overload is obsolete; use ToString(String).
(Inherited from Enum)
Top
Fields
 NameDescription
Public fieldStatic membercustomCustom Format (ID 164 and higher)
Public fieldStatic memberformat_1Format: 0
Public fieldStatic memberformat_10Format: 0.00%
Public fieldStatic memberformat_11Format: 0.00E+00
Public fieldStatic memberformat_12Format: # ?/?
Public fieldStatic memberformat_13Format: # ??/??
Public fieldStatic memberformat_14Format: m/d/yyyy
Public fieldStatic memberformat_15Format: d-mmm-yy
Public fieldStatic memberformat_16Format: d-mmm
Public fieldStatic memberformat_17Format: mmm-yy
Public fieldStatic memberformat_18Format: mm AM/PM
Public fieldStatic memberformat_19Format: h:mm:ss AM/PM
Public fieldStatic memberformat_2Format: 0.00
Public fieldStatic memberformat_20Format: h:mm
Public fieldStatic memberformat_21Format: h:mm:ss
Public fieldStatic memberformat_22Format: m/d/yyyy h:mm
Public fieldStatic memberformat_3Format: #,##0
Public fieldStatic memberformat_37Format: #,##0_);(#,##0)
Public fieldStatic memberformat_38Format: #,##0_);[Red](#,##0)
Public fieldStatic memberformat_39Format: #,##0.00_);(#,##0.00)
Public fieldStatic memberformat_4Format: #,##0.00
Public fieldStatic memberformat_40Format: #,##0.00_);[Red](#,##0.00)
Public fieldStatic memberformat_45Format: mm:ss
Public fieldStatic memberformat_46Format: [h]:mm:ss
Public fieldStatic memberformat_47Format: mm:ss.0
Public fieldStatic memberformat_48Format: ##0.0E+0
Public fieldStatic memberformat_49Format: #
Public fieldStatic memberformat_5Format: $#,##0_);($#,##0)
Public fieldStatic memberformat_6Format: $#,##0_);[Red]($#,##0)
Public fieldStatic memberformat_7Format: $#,##0.00_);($#,##0.00)
Public fieldStatic memberformat_8Format: $#,##0.00_);[Red]($#,##0.00)
Public fieldStatic memberformat_9Format: 0%
Public fieldStatic membernoneNo format / Default
Public fieldvalue__ 
Top
Remarks
There are other predefined formats (e.g. 43 and 44) that are not listed. The declaration of such formats is done in the number formats section of the style document, whereas the officially listed ones are implicitly used and not declared in the style document
See Also