Scale property

Specifies the minimum number of digits after the decimal point when an arithmetic result is truncated to the maximum PRECISION during string conversions by the new database.

Syntax
Visual Basic

Public Property Scale As Integer
C#

public int Scale  { get; set; }
Property value

An integer specifying the scale. The value must be in the range [0,127]. The default is 6.

Remarks

Scale must be less than or equal to the Precision. If Scale is greater than the Precision, an error will occur while creating the database.

See also