----- Original Message ---- From: ara.t.howard / noaa.gov To: ruby-talk ML <ruby-talk / ruby-lang.org> Sent: Friday, June 30, 2006 3:23:35 PM Subject: Re: Order of precedence On Sat, 1 Jul 2006, 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 My Dear Aunt Sally 1 - multiply 2 - divide 3 - add 4 - substract regards. -a -- suffering increases your inner strength. also, the wishing for suffering makes the suffering disappear. - h.h. the 14th dali lama