Changes

Jump to: navigation, search

Ruby Operators

13 bytes added, 20:51, 18 November 2007
Ruby Assignment Operators
<td>%<td>Modulus - Divides left hand operand by right hand operand and returns remainder</td>
<tr>
<td>**<td>Exponent - Performs exponential (power) calculation on operators</td>
</tr>
</table>
<tr>
<td>x %= y<td>x = x % y</td>
<tr>
<td>x **= y<td>x = x ** y</td>
</table>

Navigation menu