Search code examples
c#.netfixed-point

.NET - Why is there no fixed point numeric data type in C#?


It seems like there would be a ton of uses for a fixed point data type. Why is there not one in .NET?

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.


Solution

  • Decimal (base-10 floating point) was deemed to be good enough.