是什么区别decimal,float并double在.NET?
decimal
float
double
什么时候会有人使用其中一种?
.net floating-point double decimal
我总是被告知永远不要代表钱double或float类型,这次我向你提出问题:为什么?
我确信有一个很好的理由,我根本不知道它是什么.
floating-point currency
floating-point ×2
.net ×1
currency ×1
decimal ×1
double ×1