c# Programming Glossary: decimalplaces
Is there a BigFloat class in C#? http://stackoverflow.com/questions/10359372/is-there-a-bigfloat-class-in-c fraction.Numerator BigInteger.Pow 10 precision var decimalPlaces adjustedNumerator fraction.Denominator Case where precision.. Case where precision wasn't large enough. if decimalPlaces 0 return 0.0 Give it the capacity for around what we should.. for int i precision i 0 i if noMoreTrailingZeros if decimalPlaces 10 0 decimalPlaces decimalPlaces 10 continue noMoreTrailingZeros..
|