From ... From: Erik Naggum Subject: Re: Converting String to Float Date: 1997/12/17 Message-ID: <3091372829795360@naggum.no>#1/1 X-Deja-AN: 299092897 References: <01bd0b0d$802487c0$95f882c1@ai149.du.pipex.com> mail-copies-to: never Organization: Naggum Software; +47 8800 8879; http://www.naggum.no Newsgroups: comp.lang.lisp * Ray Drew | Is there a float equivalent to parse-integer? I can't find any reference to | one but thought I'd check before writing my own. I'd recommend implementing your own based on `read-from-string'. unfortunately, there's no hook (standard or otherwise, to my knowledge) into the decision process after a string of characters has been read as a token (of constituent characters), so it's hard to bail out before it is interpreted as a symbol if it is not a number, so you might want to check the set of characters that this string consists of before you call `read-from-string'. #\Erik -- If you think this year is number 97, | Help fight MULE in GNU Emacs 20! _you_ are not "Year 2000 Compliant". | http://sourcery.naggum.no/emacs/