What data type to use for representing currency in C# and Sql Server 2005/2008?

By |2011-04-06T22:51:19+00:00April 6th, 2011|Categories: ASP.NET, SQL Server|Tags: , , |

This post will be short and sweet.  What data type should you use to represent currencies in C#? - Decimal If you use double, you will end up with rounding errors on more precise numbers, and if you are writing applications that support multiple currencies, namely currencies that use very large numbers, such as the Indonesia [...]