Random Number Generators

  • Random double between bounds

    Declaration

    Swift

    public func random(_ minimum: Double, _ maximum: Double) -> Double

    Parameters

    minimum

    Lower bound of randomization

    maximum

    Upper bound of randomization