Share via


SPNumberFormatTypes Enumeration

Specifies the number of decimal places to use in number and currency fields.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
Public Enumeration SPNumberFormatTypes
'Usage
Dim instance As SPNumberFormatTypes
[SubsetCallableTypeAttribute]
public enum SPNumberFormatTypes

Members

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

See Also

Reference

Microsoft.SharePoint Namespace