Newer Version Available

This content describes an older version of this product. View Latest

getDefaultPercentFormat()

Returns the default percentage format.

Signature

getDefaultPercentFormat()

Returns

Type: NumberFormat
The percentage format returned by $Locale.percentFormat.

Sample Code

1// Returns 20%
2$A.localizationService.getDefaultPercentFormat().format(0.20);