Changes

Ruby Operators

16 bytes added, 14:28, 31 March 2009
no edit summary
</pre>
In the above example the result as has been rounded down to the nearest whole number. On the other hand, if we express one of the operands as a float, we get a more accurate answer:
<pre>
</pre>
The above code may be more quickly declared using parallel assignment:
<pre>