NumericFormat.Flat

NumericFormat.Flat method

Converts a number to a fixed-point text without a scientific notation.

public static NumericFormat Flat(int significantDigits)
ParameterTypeDescription
significantDigitsInt32Number of significant digits. The maximum available precision is “308”

Return Value

The Rounding Precision Specifier.

Exceptions

exceptioncondition
ArgumentOutOfRangeExceptionNumber of significant digits is less then 0 or more than 308.

Remarks

Internally code is generating number strings for WKT via: coordinate.ToString(“0.##..”, CultureInfo.InvariantCulture) decision.

See Also