Random Number Generators

  • Random double between bounds

    • Parameters:
      • minimum: Lower bound of randomization
      • maximum: Upper bound of randomization

    Declaration

    Swift

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

    Parameters

    minimum

    Lower bound of randomization

    maximum

    Upper bound of randomization