I have 2 fields and I need these to be a floating decimal point. I wonder what data type to use while I'm designing bottom-up Linq-to-SQL classes.
EG: one value is 1.427600, another value is 1765.030, both would be in the same property/column.
I have 2 fields and I need these to be a floating decimal point. I wonder what data type to use while I'm designing bottom-up Linq-to-SQL classes.
EG: one value is 1.427600, another value is 1765.030, both would be in the same property/column.
Use System.Decimal, if you require the accuracy.
Decimal will represent both your example values accurately.