c# Programming Glossary: formatstringproblem
Formatting numbers with significant figures in C# http://stackoverflow.com/questions/158172/formatting-numbers-with-significant-figures-in-c-sharp 9 use exponential notation format ReSharper disable FormatStringProblem return string.Format currentInfo 0 E significantDigits 1 roundedValue.. 0 E significantDigits 1 roundedValue ReSharper restore FormatStringProblem string.format is only needed with decimal numbers whole numbers.. to be padded with zeros to the right. ReSharper disable FormatStringProblem return roundingPosition 0 string.Format currentInfo 0 F roundingPosition..
|