Player12
An open source football management simulator
Loading...
Searching...
No Matches
NumberFormat::Locale Struct Reference

Separators and money units of one language. More...

#include <number_format.h>

Static Public Member Functions

static Locale english ()
 The English conventions (also the defaults above).
 

Public Attributes

std::string decimal_mark = "."
 
std::string group_mark = ","
 
std::string money_pattern = "€{0}"
 
std::string thousand_unit = "K"
 
std::string million_unit = "M"
 
std::string billion_unit = "B"
 

Detailed Description

Separators and money units of one language.

Member Function Documentation

◆ english()

static Locale NumberFormat::Locale::english ( )
inlinestatic

The English conventions (also the defaults above).

Member Data Documentation

◆ billion_unit

std::string NumberFormat::Locale::billion_unit = "B"

◆ decimal_mark

std::string NumberFormat::Locale::decimal_mark = "."

◆ group_mark

std::string NumberFormat::Locale::group_mark = ","

◆ million_unit

std::string NumberFormat::Locale::million_unit = "M"

◆ money_pattern

std::string NumberFormat::Locale::money_pattern = "€{0}"

"{0}" is the number with its unit, e.g. "€{0}" or "€ {0}".

◆ thousand_unit

std::string NumberFormat::Locale::thousand_unit = "K"

The documentation for this struct was generated from the following file: