| Index: base/i18n/number_formatting.h
|
| diff --git a/base/i18n/number_formatting.h b/base/i18n/number_formatting.h
|
| index bdb862f21a67754481cebec79b87a044dbb21be5..9636bf4d1baaa07a277cd48d9d9f230f11a13b64 100644
|
| --- a/base/i18n/number_formatting.h
|
| +++ b/base/i18n/number_formatting.h
|
| @@ -13,8 +13,7 @@
|
| namespace base {
|
|
|
| // Return a number formatted with separators in the user's locale.
|
| -// Ex: FormatNumber(1234567)
|
| -// => "1,234,567" in English, "1.234.567" in German
|
| +// Ex: FormatNumber(1234567) => "1,234,567" in English, "1.234.567" in German
|
| BASE_I18N_EXPORT string16 FormatNumber(int64_t number);
|
|
|
| // Return a number formatted with separators in the user's locale.
|
| @@ -22,6 +21,10 @@ BASE_I18N_EXPORT string16 FormatNumber(int64_t number);
|
| // => "1,234,567.8" in English, "1.234.567,8" in German
|
| BASE_I18N_EXPORT string16 FormatDouble(double number, int fractional_digits);
|
|
|
| +// Return a percentage formatted with space and symbol in the user's locale.
|
| +// Ex: FormatPercent(12) => "12%" in English, "12 %" in Romanian
|
| +BASE_I18N_EXPORT string16 FormatPercent(int number);
|
| +
|
| namespace testing {
|
|
|
| // Causes cached formatters to be discarded and recreated. Only useful for
|
|
|