好像有将是一个固定点数据类型一吨的用途。为什么会出现没有之一。NET?
It seems like there would be a ton of uses for a fixed point data type. Why is there not one in .NET?
注:据我了解,我们可以创造我们自己的类/结构,以满足我们的固定点的目的和需求。这不是我的问题。我想知道为什么MS决定不列入定点数字数据类型。
Note: I understand we can create our own classes/structs to suit our fixed point purposes and needs. That's not my question. I want to know WHY MS decided not to include a fixed point numeric data type.
十进制
(基数为10浮点)被认为是足够好了。
Decimal
(base-10 floating point) was deemed to be good enough.