This documentation is archived and is not being maintained.
SPNumberFormatTypes enumeration
Specifies the number of decimal places to use in number and currency fields.
Namespace:
Microsoft.SharePointAssembly:
Microsoft.SharePoint (in Microsoft.SharePoint.dll)
No code example is currently available or this language may not be supported.
| 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. |