PercentageRange
public struct PercentageRange
A configuration object used to define range boundaries for use during random value generation.
-
The minimum allowable return value.
Declaration
Swift
public var min: Double
-
The maximum allowable return value.
Declaration
Swift
public var max: Double
-
Initializes a
PercentageRange
object with min and max values.Declaration
Swift
public init(min: Double, max: Double)