Show / Hide Table of Contents

Locale

A locale is a set of preferences that tend to be shared across significant swaths of the world. The specific preferences are based on the locale ID.

Usage

  • Formatting numbers
  • Formatting currency values
  • Formatting traditional numbering systems
  • Translation of currency symbols and names
  • Spelling out numbers

Example

Create a Chinese locale using financial numbers.

var locale = Locale.Create("zh-u-nu-finance");
  • Improve this Doc
Back to top Generated by DocFX