Wednesday, 28 August 2013

Counting Precision Digits

Counting Precision Digits

How to count precision digits on a C# decimal type?
e.g. 12.001 = 3 precision digits.
I would like to thrown an error is a precision of greater than x is present.
Thanks.

No comments:

Post a Comment