I have two fields in my database that are defined as floats
[Longitude] [float] NULL
[Latitude] [float] NULL
I have added them to my linq2sql dbml and they show as floats as follows
I can see in my database there is the value -3.6607431 for Longitude however when I profile the sql (using sql express and a custom profiler tool) I see that the actual value passed in queries is 3.6607429981231689.
It seems to have lost the negative sign and had extra values added.
Is there something I'm missing does a float in SQL not map to a float like this in the dbml or is there another issue going on