[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.AcroForms.Field.FormatPercentValue

FormatPercentValue Method

FormatPercentValue(double, int, NumberSeparatorStyle)

Formats a value using the specified percentage formatting options.

Declaration
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
Parameters
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.

Returns
Type Description
string

The string containing the formatted value.