[XForms] dot vs. comma (0.88 vs. 1.0.x)

Jens Thoms Toerring Jens.Toerring at physik.fu-berlin.de
Fri May 28 10:46:45 EDT 2004


On Fri, May 28, 2004 at 04:13:16PM +0200, Bernd Hahnebach wrote:
> 2. It's again about XStab. As I said the software compiles using xforms 
> 0.88
> as well as using xforms 1.0.x There is only one differences which is quit
> important. The decimal separator in the whole software is a dot using
> 0.88 and a comma using 1.0.x. The comma causes big problems. I would like to
> use xforms 1.0.x and the dot as decimal separator.

Newer versions of xforms seem to set the locale to the one set in the
environment variables (caught me also unaware when that happened,
suddenly lots of things stopped working...). You may have to tell it
which one to use instead after the fl_initialize() call. I usually set
it with

setlocale( LC_NUMERIC, "C" );

directly after the flinitialize() call.

                                  Regards, Jens
-- 
  \   Jens Thoms Toerring  ___  Jens.Toerring at physik.fu-berlin.de
   \__________________________  http://www.toerring.de



More information about the Xforms mailing list