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)
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.