DecimalScheme
data class DecimalScheme(var myName: String = DEFAULT_NAME, var minValue: Double = DEFAULT_MIN_VALUE, var maxValue: Double = DEFAULT_MAX_VALUE, var decimalCount: Int = DEFAULT_DECIMAL_COUNT, var showTrailingZeroes: Boolean = DEFAULT_SHOW_TRAILING_ZEROES, var groupingSeparator: String = DEFAULT_GROUPING_SEPARATOR, var decimalSeparator: String = DEFAULT_DECIMAL_SEPARATOR, var prefix: String = DEFAULT_PREFIX, var suffix: String = DEFAULT_SUFFIX) : Scheme<DecimalScheme> (source)
Contains settings for generating random decimals.
See also
Constructors
Link copied to clipboard
fun DecimalScheme(myName: String = DEFAULT_NAME, minValue: Double = DEFAULT_MIN_VALUE, maxValue: Double = DEFAULT_MAX_VALUE, decimalCount: Int = DEFAULT_DECIMAL_COUNT, showTrailingZeroes: Boolean = DEFAULT_SHOW_TRAILING_ZEROES, groupingSeparator: String = DEFAULT_GROUPING_SEPARATOR, decimalSeparator: String = DEFAULT_DECIMAL_SEPARATOR, prefix: String = DEFAULT_PREFIX, suffix: String = DEFAULT_SUFFIX)
Types
Functions
Link copied to clipboard
Returns a copy of this scheme that has the given name.
Link copied to clipboard
Shallowly copies the state of other into this
.
Link copied to clipboard
Link copied to clipboard
Sets the decimal separator safely to ensure that exactly one character is set.
Link copied to clipboard
Sets the grouping separator safely to ensure that exactly one character is set.