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

SQL Anywhere 11.0.1 (中文) » UltraLite - .NET 编程 » UltraLite .NET 2.0 API 参考 » ULCreateParms 类

 

Scale 属性

指定在新数据库进行字符串转换期间,按最大 PRECISION 截断运算结果时小数点之后最少有几位数。

语法
Visual Basic
Public Property Scale As Integer
C#
public int Scale { get; set; }
属性值

指定小数位数的整数。值必须在 [0.127] 范围内。缺省值为 6。

注释

Scale 必须小于或等于 Precision。如果 Scale 大于 Precision,则会在创建数据库时出现错误。

另请参见