# Format problem,

**URL:** <https://forum.servoy.com/t/format-problem/17658>\
**Category:** Classic Servoy\
**Created:** [November 27, 2013, 4:05pm UTC](https://forum.servoy.com/t/format-problem/17658 "2013-11-27T16:05:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rn](https://avatars.discourse-cdn.com/v4/letter/r/3da27b/32.png) [@rn](https://forum.servoy.com/u/rn)\
**Post date:** [November 27, 2013, 4:05pm UTC](https://forum.servoy.com/t/format-problem/17658/1 "2013-11-27T16:05:23Z")

</div>

Hi all,

I have a problem:

I would like to use “.” instead of “,” as decimal number separator. If it’s possible, I would like to set it as global setting.

Thanks

---

<div class="post-metadata">

**Author:** ![mboegem](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mboegem/32/4399_2.png) [@mboegem](https://forum.servoy.com/u/mboegem)\
**Post date:** [November 27, 2013, 10:37pm UTC](https://forum.servoy.com/t/format-problem/17658/2 "2013-11-27T22:37:58Z")

</div>

decimal separator is bound to the locale settings.  
In servoy (Java) you can set this (globally) by i18n.setLocale() function.  
Please refer to the documentation on how to use it.

---

<div class="post-metadata">

**Author:** ![rn](https://avatars.discourse-cdn.com/v4/letter/r/3da27b/32.png) [@rn](https://forum.servoy.com/u/rn)\
**Post date:** [November 28, 2013, 8:36am UTC](https://forum.servoy.com/t/format-problem/17658/3 "2013-11-28T08:36:05Z")

</div>

Thanks for your reply,

using the “setLocale”, I’ve solved.  
Have to use that trick, is not so good.  
Would be better to be able to set it specificately because by changing the locale,  
the dataFormat could be change too.

Anyway thanks for your help
