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
PercentageRangeobject with min and max values.Declaration
Swift
public init(min: Double, max: Double)
PercentageRange Structure Reference