# Format numbers depending on selected locale

**URL:** <https://meta.discourse.org/t/format-numbers-depending-on-selected-locale/30418>\
**Category:** Feature\
**Tags:** translation, polls\
**Created:** [June 24, 2015, 7:22pm UTC](https://meta.discourse.org/t/format-numbers-depending-on-selected-locale/30418 "2015-06-24T19:22:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [June 25, 2015, 9:59am UTC](https://meta.discourse.org/t/format-numbers-depending-on-selected-locale/30418/4 "2015-06-25T09:59:38Z")

</div>

Looks like there’s already some code that could handle localized number formats. It’s just not used…

[https://github.com/discourse/discourse/blob/master/app/assets/javascripts/locales/i18n.js#L353-L358](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/locales/i18n.js#L353-L358)

---

_[View the full topic](https://meta.discourse.org/t/format-numbers-depending-on-selected-locale/30418)._
