Rediger

Del via


OlFormatNumber enumeration (Outlook)

Indicates the format used to display number Outlook item properties.

Name Value Description
olFormatNumber1Decimal 3 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 4 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".
olFormatNumberAllDigits 1 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".
olFormatNumberComputer1 6 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 7 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 8 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 9 Displays unformatted number values, including any decimal places specified in the value. For example, the value 1048576 is displayed as "1048576".
olFormatNumberScientific 5 Displays formatted number values, using scientific notation. For example, the value 1048576 is displayed as "1.049E+06".
olFormatNumberTruncated 2 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".

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.