---
schema_version: "1"
id: f10e90914b2144c1064f2cc65d85560b7a1a19fb0a9ed40e434057e18a281a38
title: getDefaultPercentFormat()
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/ref-jsapi/ref-jsapi-auralocalizationservice-getdefaultpercentformat.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-auralocalizationservice-getdefaultpercentformat.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5e4cece3224161436e088b24c3ae22e2a3cf53e3411793fcb9c1fa4d6a5624d8
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# getDefaultPercentFormat()

Returns the default percentage format.

## Signature

`getDefaultPercentFormat()`

## Returns

**Type: `NumberFormat`** The percentage format returned by `$Locale.percentFormat`.

## Sample Code

```javascript
// Returns 20%
$A.localizationService.getDefaultPercentFormat().format(0.20);
```

**See Also**  


-   [$Locale](https://developer.salesforce.com/docs/platform/aura-platform/expr/expr-locale-value-provider.md)

