By default, the scale for a DECIMAL type is 0, which means the DECIMAL data type mimics an integer type.
默认情况下,decimal类型的刻度为0,这意味着DECIMAL数据类型模拟了整数类型。
To create a decimal type, you specify the precision and, optionally, the scale for the data to be stored.
要创建算术类型,应当指定保存的数据的精度,并可选地指定数据的刻度。
The price column is created as a DECIMAL data type with a precision of 5 and a scale of 2.
price列创建为DECIMAL数据类型,精度为5,刻度为2。
Scale sets the number of digits to the right of the decimal.
Scale设置小数点右侧的位数。
The BONUS column is data type DECIMAL (9 length , 2 scale).
BONUS列的数据类型为DECIMAL(长度为9,小数点后位数为2)。
The SALARY column is data type DECIMAL (9 length, 2 scale).
salary列的数据类型为DECIMAL(长度为9,小数点后位数为2)。
Internally, BigDecimal is represented as an arbitrary-precision unscaled value and a scale factor, which represents how many places to move the decimal point left to obtain the scaled value.
在内部,可以用任意精度任何范围的值和一个换算因子来表示BigDecimal,换算因子表示左移小数点多少位,从而得到所期望范围内的值。
The scale of a numeric data type is the number of digits to the right of the decimal point.
数值数据类型的小数位数是小数点右侧的位数。
This is because TBCDField uses the currency data type that has a fixed scale of 4 decimal places.
BCD字段类型使用了货币类型,这种类型是小数点后是4位数。
Theorem about reciprocal transformation be-tween decimal numerals and mixed scale numerals is discussed in detail and the rigorous proof about this th…
因此,给出了十进制数与混合进制数之间的相互转化定理及其严密的理论证明,旨在应用定理中简单的公式来代替以往复杂的转化算法。
This paper gives a parallel algorithm for conversion between decimal number and other scale number. It also analyzes the performance of the algorithm.
本文给出了十进制与其它进制之间相互转换的并行算法,并对算法的性能进行了分析。
This paper gives a parallel algorithm for conversion between decimal number and other scale number. It also analyzes the performance of the algorithm.
本文给出了十进制与其它进制之间相互转换的并行算法,并对算法的性能进行了分析。
应用推荐