Question

This question already has an answer here:

Is it money, float, real, decimal, _________ ?

Was it helpful?

Solution

Answer to this and all mapping of types can be found here.

SQL-CLR Type Mapping

Chart, stolen from that page:

enter image description here


Updated 1/7/2013 - there's a more recent version, .not so colorful here: SQL Server Data Type Mappings

OTHER TIPS

That would be float.

See Mapping CLR Parameter Data.

Float is the sql type you are looking for.

float matches best. real is only 32 bits in precision, so essentially useless.

See: http://msdn.microsoft.com/en-us/library/ms173773.aspx

"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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top