Method FormatPaddRight
FormatPaddRight(Int32, Single, String)
Pad a number from right.
Declaration
public static string FormatPaddRight(int numFracDigits, float f, string col)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | numFracDigits | Number of digits in fraction part - must be 0 or 1 or 2. |
System.Single | f | Number to be formatted. |
System.String | col | Column name (used for deciding on length). |
Returns
Type | Description |
---|---|
System.String | Formatted string. |
FormatPaddRight(Int32, Double, String)
Declaration
public static string FormatPaddRight(int numFracDigits, double f, string col)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | numFracDigits | |
System.Double | f | |
System.String | col |
Returns
Type | Description |
---|---|
System.String |