To have exact values, use decimalin C # as well as decimal(m, n)in SQL Server. floator doubleor realsimply inaccurate and susceptible to rounding errors - I would not have avoided this.
See this other SO question (and its answers) for a discussion of money and decimals in SQL Server and why you should avoid it moneyin SQL Server.
source
share