Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 1.0 API Reference » ULCreateParms class

Precision property Next Page

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.

Exceptions