RE: And This Time With Local Currency Conversion!

You are viewing a single comment's thread:

Hey Brian, was just testing it out and noticed something that seems like a bug. When I enter in to "receive 1000 HBD" the prompt says to receive 1.000 HBD. I'm assuming that period should be a comma?



0
0
0.000
2 comments
avatar

NVM! I had coingecko's code disabled on the page so it was not displaying correctly -_- now it is!

0
0
0.000
avatar

I was trying to solve a problem with Locales for someone in Poland where they use the comma as the decimal separator. Right now if you're in one of these locales the behaviour works that way. I'm sort of new to localisation so I really am not sure how this is supposed to work!

  const commaLocales = [
    "de-DE",
    "fr-FR",
    "it-IT",
    "es-ES",
    "nl-NL",
    "pt-PT",
    "ru-RU",
    "tr-TR",
    "pl-PL",
    "sv-SE",
    "da-DK",
    "fi-FI",
    "el-GR",
    // Add or remove locales as required
  ]
```<div><a href="https://engage.hivechain.app">![](https://i.imgur.com/XsrNmcl.png)</a></div>
0
0
0.000