---
sourceDocument: Référence API Brésil
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/fr-FR/api-reference

 Release :

    - brazil

ft:locale :

    - fr-FR

ft:publication_title :

    - Référence API Brésil

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# GlideLocale : incluse dans le périmètre

# GlideLocale : incluse dans le périmètre {#ariaid-title1}

Rversion finale: Brazil  
Mis à jour 10 sept. 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute de lecture  
L'API GlideLocale fournit des informations sur les informations d'affichage pour l'instance locale.

Il n'y a pas de constructeur pour un objet GlideLocale. Utilisez la méthode get() pour obtenir un objet GlideLocale.

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

Renvoie l'objet GlideLocale.
{#r_ScopedGlideLocaleGet__table_qxl_hft_sr__entry__3}

| Nom | Type | Description |
|-|-|-|
| Aucune |   |   |
[Tableau 1. Paramètres]

{#r_ScopedGlideLocaleGet__table_qxl_hft_sr} {#r_ScopedGlideLocaleGet__table_rxl_hft_sr__entry__2}

| Type | Description |
|-|-|
| Paramètre régional GlideLocale | L'objet GlideLocale. |
[Tableau 2. Renvoie]

{#r_ScopedGlideLocaleGet__table_rxl_hft_sr}  

    var locale = GlideLocale.get();

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

Renvoie le séparateur décimal.
{#r_SGL-GetDecimalSeparator__table_snb_3gt_sr__entry__3}

| Nom | Type | Description |
|-|-|-|
| Aucune |   |   |
[Tableau 3. Paramètres]

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

| Type | Description |
|-|-|
| Chaîne | Séparateur décimal. |
[Tableau 4. Renvoie]

{#r_SGL-GetDecimalSeparator__table_tnb_3gt_sr}  

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

Sortie :

    The decimal separator is .

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

Renvoie le séparateur de regroupement.
{#r_SGL-GetGroupingSeparator__table_jtf_5ft_sr__entry__3}

| Nom | Type | Description |
|-|-|-|
| Aucune |   |   |
[Tableau 5. Paramètres]

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

| Type | Description |
|-|-|
| Chaîne | Séparateur de regroupement. |
[Tableau 6. Renvoie]

{#r_SGL-GetGroupingSeparator__table_ktf_5ft_sr}  

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

Sortie :

    The grouping separator is ,


