SPFieldNumber.DisplayFormat Property
Gets or sets the number of decimal places to use when displaying the field.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Property DisplayFormat As SPNumberFormatTypes
Get
Set
'Usage
Dim instance As SPFieldNumber
Dim value As SPNumberFormatTypes
value = instance.DisplayFormat
instance.DisplayFormat = value
public SPNumberFormatTypes DisplayFormat { get; set; }
Property Value
Type: Microsoft.SharePoint.SPNumberFormatTypes
An SPNumberFormatTypes value that specifies the number of decimals.