Which sql server data type best represents a double in C#?
C#SqlSql ServerTsqlDoubleC# Problem Overview
Is it money, float, real, decimal, _________ ?
C# Solutions
Solution 1 - C#
Answer to this and all mapping of types can be found here.
Chart, stolen from that page:
Updated 1/7/2013 - there's a more recent version, .not so colorful here: SQL Server Data Type Mappings
Solution 2 - C#
That would be float.
Solution 3 - C#
Float is the sql type you are looking for.
Solution 4 - C#
float matches best. real is only 32 bits in precision, so essentially useless.
Solution 5 - C#
"The synonym for double precision is float(53)." Default value of n is 53.
From page http://msdn.microsoft.com/en-us/library/ms173773.aspx