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)

public enum SPNumberFormatTypes

Member nameDescription
AutomaticDefault setting, which is 2 decimal places.
NoDecimalNo decimals are used.
OneDecimal1 decimal place.
TwoDecimals2 decimal places.
ThreeDecimals3 decimal places.
FourDecimals4 decimal places.
FiveDecimals5 decimal places.