[cl-l10n-devel] parse-number

Slobodan Milnović slobodan.milnovic at gmail.com
Tue May 31 19:01:26 UTC 2011


Hi!

In the older versions of the cl-l10n there is an function
parse-number, which takes an string and converts it into number. It
was great, especially since I have the need for decimal numbers using
decimal comma instead of decimal dot.

But, the latest cl-l10n doesn't have anything like that, even if it is
clearly mentioned in the manual

http://common-lisp.net/project/cl-l10n/docs/cl-l10n_3.html#SEC8

Function: parse-number num-string &optional (locale *locale*)
    Parses the string num-string into a number using locale.

If I want to use quicklisp, I have to install the latest one, which
doesn't have this function anymore. I've tried installing every
aditional cl-l10n library there is within quicklisp install, and even
parse-number package that is available with quicklisp, but that one
parses only decimal dot, which is useless in my case.

I can see parse-number mentioned in the changelog, and in the test
cases, but there is no longer the actual code. I have to grab
parse-number.lisp from an older version and insert into the latest
one, which is very unconvenient.

Can anyone help me with this situation?




More information about the cl-l10n-devel mailing list