decimal、float、double区别

  1. float 单精度浮点 32bit
  2. double 双精度浮点64bit
  3. decimal是高精度 128bit
  4. decimal类型并不是C#中的基础类型,所以使用的时候会对计算时的性能有影响

 

posted @ 2011-12-19 19:45  EasyPass  阅读(296)  评论(0编辑  收藏  举报