c# Programming Glossary: roundingposition
Formatting numbers with significant figures in C# http://stackoverflow.com/questions/158172/formatting-numbers-with-significant-figures-in-c-sharp value return currentInfo.NegativeInfinitySymbol int roundingPosition var roundedValue RoundSignificantDigits value significantDigits.. RoundSignificantDigits value significantDigits out roundingPosition when rounding causes a cascading round affecting digits of greater.. RoundSignificantDigits roundedValue significantDigits out roundingPosition if Math.Abs roundingPosition 9 use exponential notation format..
|