[Gretl-users] decimal separator bug

Allin Cottrell cottrell at wfu.edu
Wed Sep 19 20:41:05 EDT 2007


On Wed, 19 Sep 2007, Sven Schreiber wrote:

> Allin Cottrell schrieb:
> > A second element of inconsistency is that when the "locale 
> > decimal separator" option is turned on, we currently accept 
> > (in fact, insist on) use of the locale separator in dialog 
> > boxes that call for simple numeric input (as opposed to the 
> > "define a new variable" dialog).  I agree this is potentially 
> > confusing.
> 
> The "insist on" part is problematic. IMHO gretl must always 
> accept decimal periods ('.') everywhere irrespective of other 
> settings, simply because it's already mandatory in scripts (for 
> good reasons).

OK, I can definitely agree on that.  In fact, as a first step I 
have tried to ensure this in current CVS and Windows snapshot.  I 
may have missed something, but so far I've re-done

* The parameter entry boxes for statistical tables, etc., and
* The data-editing spreadsheet.

The object is that even if you're in a decimal-comma locale and 
have "use locale setting for decimal point" selected, you are 
still able to use '.' as decimal separator in gretl numeric 
dialogs without error.  (Besides using ',', which remains valid 
for the present, for purely numeric dialogs.)

If anyone finds a dialog in violation of that rule, please let me 
know!

Allin.



More information about the Gretl-users mailing list