Good morning to everyone!
I am having a problem while working with entity framework. The thing is: my column in DB (NETRevenue) is float with 6 places precision, and when EF loads data from DB that column becomes Double with 1 or 2 decimal places precision and that is a big problem for me.. I need all 6 places !!
Anyone can help me to solve this , thank you very much !
1 Replies - 831 Views - Last Post: 26 August 2011 - 04:58 AM
Replies To: Better precision when taking data from DB in Entity Framework
Re: Better precision when taking data from DB in Entity Framework
Posted 26 August 2011 - 04:58 AM
Why is your database field a float? If you require decimal places, then it should be the decimal datatype.
Page 1 of 1