[]
Formats a value using the specified percentage formatting options.
public static string FormatPercentValue(double value, int decimalPlaces, Field.NumberSeparatorStyle separatorStyle)
Public Shared Function FormatPercentValue(value As Double, decimalPlaces As Integer, separatorStyle As Field.NumberSeparatorStyle) As String
Type | Name | Description |
---|---|---|
double | value | The value to format. |
int | decimalPlaces | The number of digits that appear to the right of the decimal point. Valid values are from 0 to 10, inclusive. |
Field.NumberSeparatorStyle | separatorStyle | The placement of commas and periods, see Field.NumberSeparatorStyle. |
Type | Description |
---|---|
string | The string containing the formatted value. |