From: Dark Ambient Date: 2006-07-01T07:56:56+09:00 Subject: Re: Order of precedence Agreed , sorry. Stuart On 6/30/06, Austin Ziegler wrote: > On 6/30/06, 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 ? > > It's best to check this sort of thing in irb. > > -austin > -- > Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ > * austin@halostatue.ca * http://www.halostatue.ca/feed/ > * austin@zieglers.ca > >