Returns the quotient of dividing the first value by the second.
SDK
- Xcode 9.0+
Framework
- Swift Standard Library
Declaration
Parameters
lhs
The value to divide.
rhs
The value to divide
lhs
by.rhs
must not be zero.
Discussion
For integer types, any remainder of the division is discarded.