I have a database table Transaction (transactionID, LocalAmount...). where datatype for Localamount property is float. ON the UI I am trying to return a
I would suggest you make the cast after your query has finished
var somevar = (decimal)transactions.YourValue