What is the modulus operator (%) in swift 3? : <p>I have this line:</p>

<pre><code>randomIndex = Int(drand48() % Double(alphabetColors.count))
</code></pre>

<p>And Xcode 8 (Swift 3) tells me:</p>

<pre><code>'%' is unavailable: Use truncatingRemainder instead
</code></pre>

<p>Is there no operator anymore? How should I convert my code?</p>
