Description:

This example demonstrates how to format a number as a percent or permille. An application using this approach to format a number as a percent or permille will be returned a string that is formatted to match the user’s preferences. An application can also choose to override the user’s language preferences and will be returned a string properly formatted for that override.

The various options available for this formatting option are illustrated below including specifying the number of integer or fractional digits and with or without grouping separators. Numbers will be formatted using the current user’s preference and overrides.