[cl-l10n-devel] Some modification requested

Attila Lendvai attila.lendvai at gmail.com
Wed Mar 5 11:05:51 UTC 2008


> CL-L10N>  (let ((cl-l10n:*locale* "it_CH")(cl-l10n:*float-digits* nil))
> (format nil "~:/cl-l10n:format-number/" (coerce
> 1/100000000000000000000000000000000 'double-float)))
>  "0,00000000000000000000000000000001"

thanks, pushed.

> Secondly it_IT is missing:
> a solution should be if "it_XX" is not found use the locale "it"

it's already done:

CL-L10N> (locale "it_IT")
#<LOCALE it_IT {1009EE8B11}>

but i've pushed a little more dwim-ish code that works in your case, too.

CL-L10N> (locale 'it_IT)
#<LOCALE it_IT {1009EA5E91}>

-- 
 attila



More information about the cl-l10n-devel mailing list