GamesNumberFormatConfiguration
import type { GamesNumberFormatConfiguration } from "https://googleapis.deno.dev/v1/gamesConfiguration:v1configuration.ts";
A number format resource.
interface GamesNumberFormatConfiguration {
currencyCode?: string;
numberFormatType?:
| "NUMBER_FORMAT_TYPE_UNSPECIFIED"
| "NUMERIC"
| "TIME_DURATION"
| "CURRENCY";
numDecimalPlaces?: number;
suffix?: GamesNumberAffixConfiguration;
}§Properties
§
numberFormatType?: "NUMBER_FORMAT_TYPE_UNSPECIFIED" | "NUMERIC" | "TIME_DURATION" | "CURRENCY"
[src]The formatting for the number.
§
numDecimalPlaces?: number
[src]The number of decimal places for number. Only used for NUMERIC format type.
§
suffix?: GamesNumberAffixConfiguration
[src]An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.