Hi all, Sorry for the delay to reply to all your comments.
>> IMO locale-aware SI labels are extra credit, and should be considered >> out of scope for this case... > > I don't think making it locale aware is really a big deal since > the only thing that you need to do is calling just a single fuction: > > #include <langinfo.h> > > char *decimal_point; > > : > > decimal_point = nl_langinfo(RADIXCHAR); > > : > > and use the decimal_point character. > > Otherwise, you're going against SMI Internationalization Compliance > policy and require an exemption approval and I don't think this > particular > case warrant/assert that at this point with the information available. > > Ienup > I think this is a good idea, and furthermore, I think than using nl_langinfo(THOUSEP) as the thousand separator character (the question was asked) would also be a good thing. If no one complains about it, I'll use these characters as decimal point / thousand separator chars. Yann
