From: Mat Schaffer Date: 2006-07-01T02:36:19+09:00 Subject: Re: Order of precedence 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 irb says yes: irb(main):001:0> 2 - 3 * 5 => -13 -Mat