IDataSourceFieldSchema.Scale Property

 

Gets the number of decimal places to which numerical values in the field are resolved.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

int Scale { get; }

Property Value

Type: System.Int32

If the DataType property of the field represents a numeric type, returns the number of decimal places to which values are resolved, otherwise -1.

.NET Framework
Available since 2.0
Return to top
Show: