In java 7 or newer, there is a feature: Underscores in Numeric Literals
Is there a similar feature in Kotlin?
In java 7 or newer, there is a feature: Underscores in Numeric Literals
Is there a similar feature in Kotlin?
This feature is being added in Kotlin 1.1.
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.