[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

LC_NUMERIC vs locale ?



Hi there,

  My computer is setup so that default locale is en_US.utf8. In order
to do some testing with LC_NUMERIC. I decided to install more locale
(dpkg-reconfigure locales). Now I have:

$ locale -a
C
en_US.utf8
fr_FR.utf8
POSIX

However I am still missing something to get LC_NUMERIC working. For
instance in my shell:


$ LC_NUMERIC=fr_FR.utf8  zsh -c 'float a=1; echo $(( a / 3 ))'
0.33333333333333331

Which is clearly wrong.

What are the steps that I missed to get locale properly setup ?

Thanks,
-- 
Mathieu


Reply to: