数据表中money类型的字段,对应的变量在编程时设置成什么类型?(10分)

  • 主题发起人 主题发起人 kds
  • 开始时间 开始时间
K

kds

Unregistered / Unconfirmed
GUEST, unregistred user!
数据表中money类型的字段,对应的变量在编程时设置成什么类型?
 
在PARADOX中设为MONEY型
SQL SERVER 中 NUMERTIC
 
Currency/Float
 
在DELPHI中有Currency
Currency is a fixed-point data type that minimizes rounding errors in
monetary calculations. It is stored as a scaled 64-bit integer with
the four least-significant digits implicitly representing decimal places.
When mixed with other real types in assignments and expressions,
Currency values are automatically divided or multiplied by 10000.
 
多人接受答案了。
 
后退
顶部