When I get data from SQL server
to EntityFramework C#
.
My SQL server
has column:
Mycolumn(float, not null)(8 byte);
C# model mapping:
public double MyColumn {get; set;}.
The SQL server
saves data: 1.8(float, not null), and when I get it with dapper
or EntityFramework
,
the column C#
return 1.79999995231628. I don't understand.
Can who help me get that = 1.8 in C#
.
Thank you very much and have a nice day.
lovenco