Dave Aronson wrote in post #1044404: > So what's the problem? Are you trying to say that the function isn't > doing *anything*, not even giving you back "Invalid Math Operation"? > > I can believe that it is at least giving you that, rather than doing > the proper math. Try checking the exact value of mathop. Put quotes > around it. I think you'll discover you need one more operation. This > shouldn't be too big a challenge to sink your teeth into. ;-) > > -Dave mathop=mathop.strip This help Dave. Thanks for explanation -- Posted via http://www.ruby-forum.com/.