From: Joel VanderWerf Date: 2006-02-14T06:09:42+09:00 Subject: Re: Working with kernel.eval Ian Whitney wrote: > Any thoughts on how I can take the string as it stands, "1+2/3" and get > the right answer? I could use regex to replace every integer with a > floating point number, I guess. But that seems kludgey. David's suggestion to require 'mathn' is a good way to go, but be aware that 2/3 will evaluate to a rational--precise, but in general slower to compute with. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407