/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2010, 2011, 2012, 2013 Free Software Foundation
+ Copyright (C) 2010, 2011, 2012, 2013, 2014 Free Software Foundation
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "psppire-dialog-action-chisquare.h"
+#include <float.h>
+
#include "psppire-var-view.h"
#include "psppire-dialog.h"
gtk_tree_model_get (GTK_TREE_MODEL (ls), &iter, 0, &v, -1);
- ds_put_c_format (&dss, " %g", v);
+ ds_put_c_format (&dss, " %.*g", DBL_DIG + 1, v);
}
}