decimal、float、double区别

  1. float 单精度浮点 32bit
  2. double 双精度浮点64bit
  3. decimal是高精度 128bit
  4. decimal类型并不是C#中的基础类型,所以使用的时候会对计算时的性能有影响
原文地址:https://www.cnblogs.com/easypass/p/2293782.html