In SQL, the following works cast([comlum] as Decimal(18,4))
How can I do the same conversion (from the binary data) in C#?
the data type of varbinary in SQL C# loading to byte[] so, I want to byte[] convert to decimal or double?
Sql query: select cast([column_A] as decimal(18,4), [column_A] from table
result: 191128.0000 0x1204000180D1EB71
I hope to get value as 191128.0000
in C#
Because, I use entity framework
so, have this question