Mark Rages wrote: >>> http://forum.microchip.com/tm.aspx?m=172676 >>> >>> This is kind of interesting. Are there any better solutions (eg fix from the >>> source code)? >> >> Windows (and probably also *x) allows applications to query the decimal >> separator and to format numbers as specified by the culture settings of the >> user. How exactly that is done depends on the language/application >> framework used. > > I would bet there are internationalized floating-point functions in the > Windows API, because this problem is common to any application that uses > floating-point. I would bet on that, too. But most applications don't really use the Windows API directly a lot. Most are built on some kind of framework (Java, Delphi, MFC, .NET, ...), and each of them have their own way of doing things. Often, the floating point string conversion functions provided by the framework already take the correct formatting automatically. Of course, if you're "hand-formatting" a number, it comes out however you set it to come out :) What it sounds like is that a part of the app does use these framework functions (maybe to parse floating point number strings and convert them into numbers, using the appropriate settings from the user's system), and another part doesn't do that (maybe supplying hardcoded strings like "3.3" to that conversion function). Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist