¡@

Home 

c# Programming Glossary: countdecimalplaces

C# Check if a decimal has more than 3 decimal places?

http://stackoverflow.com/questions/6092243/c-sharp-check-if-a-decimal-has-more-than-3-decimal-places

more than 3 decimals row 1 would fail row 2 would pass if CountDecimalPlaces tableA.Qty tableA.Unit 3 return false tableB.TotalQty tableA.Qty.. tableA.Qty tableA.Unit How would I implement the CountDecimalPlaces decimal value function c# decimal share improve this question.. big integer for a trully generic function . static decimal CountDecimalPlaces decimal dec int bits Decimal.GetBits dec int exponent bits 3..