Am 06.03.2011 um 18:57 schrieb address@hidden:
Hi,
address@hidden:~/Desktop/ICUtest$ gcc `icu-config --cflags`
`icu-config --ldflags` -licuio -o test test_unum.c
test_unum.c:6: Warnung: Rückgabetyp von »main« ist nicht »int«
address@hidden:~/Desktop/ICUtest$ ./test
1.234,560000 = 1234,56
1.234 = 1234
Could it be a Locale issue, since my Ubuntu uses a german one
(LANG="de_DE.UTF-8")?
So maybe it's a decimal dots issue. In the German locale you would
usually write: 1,23 instead of 1.23
Could this be the cause for the NaNs?
cheers,
Lars