1

I have a sql table. There is a float field in it. I made a model using entity framework wizard and it is represented as Double? in that model. Everything is fine to this point.

However when i retrieve value of that float field using linq to sql it gives me wrong value.

I write 0,06 to value of that float field using SQL Management Studio. But i get 0.059999999999999998 not 0,06

What is the reason. How can i correct it?

MOD
  • 1,070
  • 3
  • 19
  • 41

0 Answers0