Partager via


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)

Syntax

'Declaration
Public Enumeration OlFormatNumber
'Usage
Dim instance As OlFormatNumber
public enum OlFormatNumber

Members

Member name Description
olFormatNumberAllDigits Displays 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".
olFormatNumberTruncated Displays 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".
olFormatNumber1Decimal Displays 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".
olFormatNumber2Decimal Displays 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".
olFormatNumberScientific Displays formatted number values, using scientific notation. For example, the value 1048576 is displayed as "1.049E+06".
olFormatNumberComputer1 Displays 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".
olFormatNumberComputer2 Displays 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".
olFormatNumberComputer3 Displays 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".
olFormatNumberRaw Displays unformatted number values, including any decimal places specified in the value. For example, the value 1048576 is displayed as "1048576".

See Also

Reference

Microsoft.Office.Interop.Outlook Namespace