Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.AcroForms Namespace / Field Class / FormatPercentValue Method
The value to format.
The number of digits that appear to the right of the decimal point. Valid values are from 0 to 10, inclusive.
The placement of commas and periods, see Field.NumberSeparatorStyle.

In This Topic
    FormatPercentValue Method
    In This Topic
    Formats a value using the specified percentage formatting options.
    Syntax
    'Declaration
     
    Public Shared Function FormatPercentValue( _
       ByVal value As System.Double, _
       ByVal decimalPlaces As System.Integer, _
       ByVal separatorStyle As Field.NumberSeparatorStyle _
    ) As System.String
    public static System.string FormatPercentValue( 
       System.double value,
       System.int decimalPlaces,
       Field.NumberSeparatorStyle separatorStyle
    )

    Parameters

    value
    The value to format.
    decimalPlaces
    The number of digits that appear to the right of the decimal point. Valid values are from 0 to 10, inclusive.
    separatorStyle
    The placement of commas and periods, see Field.NumberSeparatorStyle.

    Return Value

    The string containing the formatted value.
    See Also