GetFormatPrecision(Int32) Method

Definition

Namespace Tomlyn
Assembly Tomlyn.dll

Gets the string formatter for the specified precision.

public static string GetFormatPrecision(int precision)

Parameters

precision
Int32

A precision number from 1 to 7. Other numbers will return the default fff formatter.

Returns

String
The string formatter for the specified precision.