May 13, 2021 VBScript
The VBScript FormatPercent function returns an expression formatted as a percentage (multiplied by 100), ending with the % symbol.
The FormatPercent function returns an expression that is formatted as a percentage (following the percentage with the % symbol (multiplied by 100).
parameter | describe |
---|---|
expression | Required.It is necessary to format the expression. |
NumDigAfterDec | Optional.Indicates the value of the number of digits on the right side of the decimal point.The default value is -1 (used by the area setting of the computer). |
IncLeadingDig |
Optional.Indicates whether the leading zero of the small value is displayed:
|
UseParForNegNum |
Optional.Indicates whether the negative value is placed in parentheses:
|
GroupDig |
Optional.Indicates whether the number packet symbol specified in the computer area setting will group numbers:
|