Share via


SqlFacetAttribute.Scale Property

Definition

The scale of the return type of the user-defined type.

public:
 property int Scale { int get(); void set(int value); };
public int Scale { get; set; }
member this.Scale : int with get, set
Public Property Scale As Integer

Property Value

An Int32 representing the scale of the return type.

Remarks

The Scale property is valid only for decimal types. The Precision property must also be specified when setting the Scale property.

The maximum value of the Scale property is 38; the default value is 0.

Applies to