摘要:
decimal,float和double的区别一直很奇怪C#的预定义数据类型中为什么加了一个decimal,有float和double不就够了吗?今天来挖一挖。浮点型NameCTS TypeDe script ionSignificant FiguresRange (approximate)floatSystem.Single32-bit single-precision floating point7±1.5 × 10?45 to ±3.4 × 1038doubleSystem.Double64-bit double-precision floatin 阅读全文