[dgplug-users] [Tax calculation RoR] @yevlempy, @chandana

Aanjhan R aanjhan at gmail.com
Sat Jul 18 12:08:07 PDT 2009


On Sat, Jul 18, 2009 at 8:41 PM, chandana boral<chandana.boral at gmail.com> 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



More information about the Users mailing list