Export (0) Print
Expand All
Expand Minimize

OlFormatNumber Enumeration

Indicates the format used to display number Outlook item properties.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

public enum OlFormatNumber

Member nameDescription
olFormatNumberAllDigitsDisplays formatted number values, including any decimal places specified in the value, using the group and decimal delimiters specified in the system's regional settings. For example, the value 4010.155 is displayed as "4,010.155".
olFormatNumberTruncatedDisplays formatted number values as integers, rounding all decimal values, using the group and decimal delimiters specified in the system's regional settings. For example, the value 4010.1 is displayed as "4,010".
olFormatNumber1DecimalDisplays formatted number values, including one fixed decimal place, using the group and decimal delimiters specified in the system's regional settings. For example, the value 4010.155 is displayed as "4,010.2".
olFormatNumber2DecimalDisplays formatted number values, including two fixed decimal places, using the group and decimal delimiters specified in the system's regional settings. For example, the value 4010.155 is displayed as "4,010.16".
olFormatNumberScientificDisplays formatted number values, using scientific notation. For example, the value 1048576 is displayed as "1.049E+06".
olFormatNumberComputer1Displays formatted number values, representing bytes, as kilobytes (with the abbreviation "K") depending on the value. For example, the integer value of 1048576 is displayed as "1,024 K".
olFormatNumberComputer2Displays formatted number values, representing bytes, as either kilobytes (with the abbreviation "K"), megabytes (with the abbreviation "M"), or gigabytes (with the abbreviation "G"), depending on the value. For example, the integer value of 2048 is displayed as "2 K".
olFormatNumberComputer3Displays formatted number values, representing bytes, as either bytes (with the abbreviation "B"), kilobytes (with the abbreviation "KB"), megabytes (with the abbreviation "MB"), or gigabytes (with the abbreviation "GB"), depending on the value. For example, the integer value of 1000 is displayed as "1,000 B".
olFormatNumberRawDisplays unformatted number values, including any decimal places specified in the value. For example, the value 1048576 is displayed as "1048576".
Show:
© 2015 Microsoft