Formats a number into a percent string using a locale-based format. Returns String.
Parameter | Type | Description |
---|---|---|
percent | Number | Percent number to be formatted. Will not be multiplied by 100. |
options | Object | See below. |
options object properties:
Properties | Type | Description |
---|---|---|
countryCode | String | Two letter IETF/ISO 639 code for country/region. Optional. Defaults to device's current locale. |
0 Comments