On Sat, Jul 18, 2009 at 8:41 PM, chandana boral<[email protected]> wrote: > Hi, > > I have tried some ruby codes . > I am having problem , > I have pasted it in this link http://fpaste.org/paste/18773 . > I am having this error > < cor.rb:12:in `av': undefined method `/' for "78":String (NoMethodError) > from cor.rb:15>
I think the problem is ma1 and ma2 are as strings and you cant do a "/" operation on them? I dont know Ruby but just some first glance. May be I am wrong. Regards, Aanjhan _______________________________________________ Users mailing list [email protected] http://lists.dgplug.org/listinfo.cgi/users-dgplug.org
