intellij-randomness / com.fwdekker.randomness.decimal / DecimalSettings / safeSetDecimalSeparator

safeSetDecimalSeparator

fun safeSetDecimalSeparator(decimalSeparator: String?): Unit

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

Parameters

decimalSeparator - the possibly-unsafe decimal separator string