Decimal data type
Is there any way in C# to specify a decimal datatype with required decimal digit?
For example in few unmanaged codes we specify
decimal{2} a
The above declaration allows only two decimal digits for the variable a
Is there any way in C# for above declaration?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

madinewalaRank #8,108 · 228 reputationPosted Oct 22, 2003, 5:13 AM EDT
c_wiley73 reputationPosted Oct 24, 2003, 1:11 AM EDT