diff --git a/examples/universal.c b/examples/universal.c index 1e80bb8..1d61ef8 100644 --- a/examples/universal.c +++ b/examples/universal.c @@ -304,7 +304,7 @@ sample_cb (dc_sample_type_t type, dc_sample_value_t value, void *userdata) fprintf (sampledata->fp, " %.2f\n", value.ppo2); break; case DC_SAMPLE_CNS: - fprintf (sampledata->fp, " %.2f\n", value.cns); + fprintf (sampledata->fp, " %.1f\n", value.cns * 100.0); break; case DC_SAMPLE_DECO: fprintf (sampledata->fp, " %s\n",