On Jun 30, 2006, at 12:07 PM, Dark Ambient wrote:

> Just checking
>
> if I have
>
> a = a - b*c
>
> b*c gets calculated first then that result is subtracted from a ?
> In other words, parantheses, in Ruby, is not necessary to make that
> calculation ?
>
> TIA
> Stuart
>

Yes. Ruby has the usual precedence rules for arithmetic operators.