Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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;
}

§Properties

§
currencyCode?: string
[src]

The curreny code string. Only used for CURRENCY format type.

§
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.

§

An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.