google_api_games_configuration v0.5.0 GoogleApi.GamesConfiguration.V1configuration.Model.GamesNumberFormatConfiguration View Source
This is a JSON template for a number format resource.
Attributes
currencyCode(type:String.t, default:nil) - The curreny code string. Only used for CURRENCY format type.numDecimalPlaces(type:integer(), default:nil) - The number of decimal places for number. Only used for NUMERIC format type.numberFormatType(type:String.t, default:nil) - The formatting for the number. Possible values are:- "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added.
- "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds.
- "CURRENCY" - Numbers are formatted to currency according to locale.
suffix(type:GoogleApi.GamesConfiguration.V1configuration.Model.GamesNumberAffixConfiguration.t, default:nil) - An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() ::
%GoogleApi.GamesConfiguration.V1configuration.Model.GamesNumberFormatConfiguration{
currencyCode: String.t(),
numDecimalPlaces: integer(),
numberFormatType: String.t(),
suffix:
GoogleApi.GamesConfiguration.V1configuration.Model.GamesNumberAffixConfiguration.t()
}
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.