JavaScript

Intl.Locale.prototype.numberingSystem プロパティ


編集:2023.01.10 by T.A.

[Edge]。→

Intl.Locale の数字の表記法を文字列で返します。

構文
Intl.Locale.numberingSystem
Intl.Locale Intl.Locale

文字列。→Intl.DateTimeFormat():numberingSystem

DA=new Intl.Locale('ja-JP');  //日本語の日本国。
D=DA.numberingSystem;  //=[undefined]:undefined
DA=new Intl.Locale('ja-JP-u-nu-fullwide');  //日本語の日本国で全角。
D=DA.numberingSystem;  //=[string]:fullwide
DA=new Intl.Locale('ja-JP', {numberingSystem:'fullwide'});  //日本語の日本国で全角。
D=DA.numberingSystem;  //=[string]:fullwide

Intl.Locale()言語タグ


テスト