Operator

/=(_:_:)

Divides the first value by the second and stores the quotient in the left-hand-side variable, rounding to a representable value.

Declaration

static func /= (lhs: inout Double, rhs: Double)

Parameters

lhs

The value to divide.

rhs

The value to divide lhs by.

Discussion

Relationships

From Protocol

See Also

Arithmetic with Assignment

static func += (inout Double, Double)

Adds two values and stores the result in the left-hand-side variable, rounded to a representable value.

static func -= (inout Double, Double)

Subtracts the second value from the first and stores the difference in the left-hand-side variable, rounding to a representable value.

static func *= (inout Double, Double)

Multiplies two values and stores the result in the left-hand-side variable, rounding to a representable value.