IDataSourceFieldSchema.Scale Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: