intellij-randomness / com.fwdekker.randomness.integer / IntegerSettings / safeSetGroupingSeparator

safeSetGroupingSeparator

fun safeSetGroupingSeparator(groupingSeparator: String?): Unit

Sets the grouping separator safely to ensure that exactly one character is set.

Parameters

groupingSeparator - the possibly-unsafe grouping separator string