SPNumberFormatTypes Enumeration

The SPNumberFormatTypes enumeration specifies the number of decimal places to use in number and currency fields.

Members

The following table shows the members of the SPNumberFormatTypes enumeration and a brief description of each.

Name Description
Automatic Default setting, which is 2 places.
OneDecimal 1 decimal place.
TwoDecimals 2 decimal places.
ThreeDecimals 3 decimal places.
FourDecimals 4 decimal places.
FiveDecimals 5 decimal places.
NoDecimal No decimals are used.

Requirements

Namespace: Microsoft.SharePoint

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Security: Code Access Security