---
sourceDocument: オーストラリア API リファレンス
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ja-JP/api-reference

 Release :

    - australia

ft:locale :

    - ja-JP

ft:publication_title :

    - オーストラリア API リファレンス

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# GlideLocale - スコープ指定

# GlideLocale - スコープ指定 {#ariaid-title1}

* リリースバージョン: Australia
* 
* 更新日 2026年03月12日
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 所要時間：1分

GlideLocale API は、ローカルインスタンスの表示情報に関する情報を提供します。

GlideLocale オブジェクトのコンストラクターはありません。get() メソッドを使用して、GlideLocale オブジェクトを取得します。

## GlideLocale:get() {#ariaid-title2}

GlideLocale オブジェクトを返します。
{#r_ScopedGlideLocaleGet__table_qxl_hft_sr__entry__3}

| 名前 | タイプ | 説明 |
|-|-|-|
| なし |   |   |
[表 : 1. パラメーター]

{#r_ScopedGlideLocaleGet__table_qxl_hft_sr} {#r_ScopedGlideLocaleGet__table_rxl_hft_sr__entry__2}

| タイプ | 説明 |
|-|-|
| GlideLocale | GlideLocale オブジェクト。 |
[表 : 2. 返される内容]

{#r_ScopedGlideLocaleGet__table_rxl_hft_sr}  

    var locale = GlideLocale.get();

## GlideLocale:getDecimalSeparator() {#ariaid-title3}

小数点を返します。
{#r_SGL-GetDecimalSeparator__table_snb_3gt_sr__entry__3}

| 名前 | タイプ | 説明 |
|-|-|-|
| なし |   |   |
[表 : 3. パラメーター]

{#r_SGL-GetDecimalSeparator__table_snb_3gt_sr} {#r_SGL-GetDecimalSeparator__table_tnb_3gt_sr__entry__2}

| タイプ | 説明 |
|-|-|
| 文字列 | 小数点。 |
[表 : 4. 返される内容]

{#r_SGL-GetDecimalSeparator__table_tnb_3gt_sr}  

    var locale = GlideLocale.get();
    var decimalSeparator = locale.getDecimalSeparator();
    gs.info( "The decimal separator is " + decimalSeparator);

出力:

    The decimal separator is .

## GlideLocale:getGroupingSeparator() {#ariaid-title4}

グループ化セパレーターを返します。
{#r_SGL-GetGroupingSeparator__table_jtf_5ft_sr__entry__3}

| 名前 | タイプ | 説明 |
|-|-|-|
| なし |   |   |
[表 : 5. パラメーター]

{#r_SGL-GetGroupingSeparator__table_jtf_5ft_sr} {#r_SGL-GetGroupingSeparator__table_ktf_5ft_sr__entry__2}

| タイプ | 説明 |
|-|-|
| 文字列 | グループ化セパレーター。 |
[表 : 6. 返される内容]

{#r_SGL-GetGroupingSeparator__table_ktf_5ft_sr}  

    var locale = GlideLocale.get();var groupingSeparator = locale.getGroupingSeparator();
    gs.info( "The grouping separator is " + groupingSeparator);

出力:

    The grouping separator is ,


