If need to use decimal field, precision demand is not high, use FLOAT of course.
如果需要用到小数的字段,精度要求不高的,当然用FLOAT了。
If you want to store a number to a DECIMAL field in a database, or retrieve a value from a DECIMAL field, how do you ensure that the number will be transmitted exactly?
如果希望将数字存储到数据库中的decimal字段,或从decimal字段检索值,则如何确保精确地转换该数字?
Currency separators include the thousands separators, decimal separators, decimal position, field length, and padding character.
货币分隔符包括千位分隔符、小数点、小数位置、字段长度和填充字符。
The field descriptors allow integers and decimal number to be read and written.
字域说明符允许把整数和十进制数读入和打印出来。
Widget works for text, integer, decimal, float, user reference, and node reference CCK field types.
小部件可以和文本、整数、分数、浮点小数、用户引用、节点饮用等cck字段类型结合使用。
You should also use a Currency data type if you plan to perform many calculations on a field that contains Numbers with one to four decimal places.
若要对包含一到四位小数的数字的字段执行很多计算,也应该使用“货币”数据类型。
You should also use a Currency data type if you plan to perform many calculations on a field that contains Numbers with one to four decimal places.
若要对包含一到四位小数的数字的字段执行很多计算,也应该使用“货币”数据类型。
应用推荐