Decimal Truncation using SqlParameter
Trying to store/retrieve records containing Decimal fields and the numbers are being rounded to a whole number.
Using C#, ADO(MDAC 2.8), and SQL Server 2000. I am setting the Precision and Scale (18, 2) on the SqlParameter and having no luck with the retrieval or inserting numeric fields with a fractional value.
Any ideas would be greatly appreciated.
Thanks...
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.

mikerRank #2,843 · 502 reputationPosted Jul 26, 2004, 9:34 AM EDT
rick_gabel5 reputationPosted Jul 26, 2004, 10:06 AM EDT
rick_gabel5 reputationPosted Jul 26, 2004, 12:13 PM EDT
hcontreras6 reputationPosted Feb 11, 2005, 3:29 AM EST
hcontreras6 reputationPosted Feb 11, 2005, 4:30 AM EST