# Separate groups of digits in numeric literals to improve the readability

**URL:** <https://discuss.kotlinlang.org/t/separate-groups-of-digits-in-numeric-literals-to-improve-the-readability/2134>\
**Category:** Language Design\
**Created:** [December 4, 2016, 4:22pm UTC](https://discuss.kotlinlang.org/t/separate-groups-of-digits-in-numeric-literals-to-improve-the-readability/2134 "2016-12-04T16:22:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nguyen-sde](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nguyen-sde](https://discuss.kotlinlang.org/u/nguyen-sde)\
**Post date:** [December 4, 2016, 4:22pm UTC](https://discuss.kotlinlang.org/t/separate-groups-of-digits-in-numeric-literals-to-improve-the-readability/2134/1 "2016-12-04T16:22:38Z")

</div>

In java 7 or newer, there is a feature: [Underscores in Numeric Literals](http://docs.oracle.com/javase/8/docs/technotes/guides/language/underscores-literals.html)

Is there a similar feature in Kotlin?

---

<div class="post-metadata">

**Author:** ![yole](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/yole/32/1425_2.png) [@yole](https://discuss.kotlinlang.org/u/yole)\
**Post date:** [December 4, 2016, 4:45pm UTC](https://discuss.kotlinlang.org/t/separate-groups-of-digits-in-numeric-literals-to-improve-the-readability/2134/2 "2016-12-04T16:45:08Z")

</div>

This feature is being added in Kotlin 1.1.

---

<div class="post-metadata">

**Author:** ![nguyen-sde](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nguyen-sde](https://discuss.kotlinlang.org/u/nguyen-sde)\
**Post date:** [December 4, 2016, 4:49pm UTC](https://discuss.kotlinlang.org/t/separate-groups-of-digits-in-numeric-literals-to-improve-the-readability/2134/3 "2016-12-04T16:49:28Z")

</div>

Thanks yole for your very quickly reply!  
That’s really nice if we have this feature in kotlin. My company’s project is quite special in using many strange numbers and they are usually very long when declaring as constants in source code.
