c# Programming Glossary: currentinfo
Formatting numbers with significant figures in C# http://stackoverflow.com/questions/158172/formatting-numbers-with-significant-figures-in-c-sharp figures the resulting number should be .0020. var currentInfo CultureInfo.CurrentCulture.NumberFormat if double.IsNaN value.. if double.IsNaN value return currentInfo.NaNSymbol if double.IsPositiveInfinity value return currentInfo.PositiveInfinitySymbol.. if double.IsPositiveInfinity value return currentInfo.PositiveInfinitySymbol if double.IsNegativeInfinity value ..
|