/* PSPP - a program for statistical analysis.
- Copyright (C) 2006, 2009, 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2006, 2009, 2010, 2011, 2014 Free Software Foundation, Inc.
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 "language/stats/binomial.h"
+#include <float.h>
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_randist.h>
#include "data/case.h"
#include "data/casereader.h"
+#include "data/dataset.h"
#include "data/dictionary.h"
#include "data/format.h"
-#include "data/procedure.h"
#include "data/value-labels.h"
#include "data/value.h"
#include "data/variable.h"
if ( bst->cutpoint != SYSMIS)
{
- ds_put_format (&catstr[0], "<= %g", bst->cutpoint);
+ ds_put_format (&catstr[0], "<= %.*g",
+ DBL_DIG + 1, bst->cutpoint);
}
else
{