Index: trunk/psLib/test/dataManip/tst_psRandom.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psRandom.c	(revision 3127)
+++ trunk/psLib/test/dataManip/tst_psRandom.c	(revision 3160)
@@ -123,17 +123,17 @@
     for (psS32 i = 0 ; i < NUM_DATA ; i++) {
         rans->data.F64[i] = psRandomUniform(myRNG);
-        //        printf("%f\n", rans->data.F64[i]);
-    }
-    stats = psVectorStats(stats, rans, NULL, NULL, 0);
-    printf("Mean is %f\n", stats->sampleMean);
+        //        printf("%.2f\n", rans->data.F64[i]);
+    }
+    stats = psVectorStats(stats, rans, NULL, NULL, 0);
+    printf("Mean is %.2f\n", stats->sampleMean);
     stats->options = PS_STAT_SAMPLE_STDEV;
     stats = psVectorStats(stats, rans, NULL, NULL, 0);
-    printf("Standard deviation is %f\n", stats->sampleStdev);
+    printf("Standard deviation is %.2f\n", stats->sampleStdev);
     if ((fabs(stats->sampleMean - UNIFORM_MEAN) / UNIFORM_MEAN) > ERROR_TOLERANCE) {
-        printf("ERROR: psRandomUniform() mean is %f, should be %f\n", stats->sampleMean, UNIFORM_MEAN);
+        printf("ERROR: psRandomUniform() mean is %.2f, should be %.2f\n", stats->sampleMean, UNIFORM_MEAN);
         testStatus = false;
     }
     if ((fabs(stats->sampleStdev - UNIFORM_STDEV) / UNIFORM_STDEV) > ERROR_TOLERANCE) {
-        printf("ERROR: psRandomUniform() stdev is %f, should be %f\n", stats->sampleStdev, UNIFORM_STDEV);
+        printf("ERROR: psRandomUniform() stdev is %.2f, should be %.2f\n", stats->sampleStdev, UNIFORM_STDEV);
         testStatus = false;
     }
@@ -184,17 +184,17 @@
     for (psS32 i = 0 ; i < NUM_DATA ; i++) {
         rans->data.F64[i] = psRandomGaussian(myRNG);
-        //        printf("%f\n", rans->data.F64[i]);
-    }
-    stats = psVectorStats(stats, rans, NULL, NULL, 0);
-    printf("Mean is %f\n", stats->sampleMean);
+        //        printf("%.2f\n", rans->data.F64[i]);
+    }
+    stats = psVectorStats(stats, rans, NULL, NULL, 0);
+    printf("Mean is %.2f\n", stats->sampleMean);
     stats->options = PS_STAT_SAMPLE_STDEV;
     stats = psVectorStats(stats, rans, NULL, NULL, 0);
-    printf("Standard deviation is %f\n", stats->sampleStdev);
+    printf("Standard deviation is %.2f\n", stats->sampleStdev);
     if ((fabs(stats->sampleMean - GAUSSIAN_MEAN) / 1.0) > ERROR_TOLERANCE) {
-        printf("ERROR: psRandomUniform() mean is %f, should be %f\n", stats->sampleMean, GAUSSIAN_MEAN);
+        printf("ERROR: psRandomUniform() mean is %.2f, should be %.2f\n", stats->sampleMean, GAUSSIAN_MEAN);
         testStatus = false;
     }
     if ((fabs(stats->sampleStdev - GAUSSIAN_STDEV) / GAUSSIAN_STDEV) > ERROR_TOLERANCE) {
-        printf("ERROR: psRandomUniform() stdev is %f, should be %f\n", stats->sampleStdev, GAUSSIAN_STDEV);
+        printf("ERROR: psRandomUniform() stdev is %.2f, should be %.2f\n", stats->sampleStdev, GAUSSIAN_STDEV);
         testStatus = false;
     }
@@ -245,17 +245,17 @@
     for (psS32 i = 0 ; i < NUM_DATA ; i++) {
         rans->data.F64[i] = psRandomPoisson(myRNG, POISSON_MEAN);
-        //        printf("%f\n", rans->data.F64[i]);
-    }
-    stats = psVectorStats(stats, rans, NULL, NULL, 0);
-    printf("Mean is %f\n", stats->sampleMean);
+        //        printf("%.2f\n", rans->data.F64[i]);
+    }
+    stats = psVectorStats(stats, rans, NULL, NULL, 0);
+    printf("Mean is %.2f\n", stats->sampleMean);
     stats->options = PS_STAT_SAMPLE_STDEV;
     stats = psVectorStats(stats, rans, NULL, NULL, 0);
-    printf("Standard deviation is %f\n", stats->sampleStdev);
+    printf("Standard deviation is %.2f\n", stats->sampleStdev);
     if ((fabs(stats->sampleMean - POISSON_MEAN) / POISSON_MEAN) > ERROR_TOLERANCE) {
-        printf("ERROR: psRandomUniform() mean is %f, should be %f\n", stats->sampleMean, POISSON_MEAN);
+        printf("ERROR: psRandomUniform() mean is %.2f, should be %.2f\n", stats->sampleMean, POISSON_MEAN);
         testStatus = false;
     }
     if ((fabs(stats->sampleStdev - POISSON_STDEV) / POISSON_STDEV) > ERROR_TOLERANCE) {
-        printf("ERROR: psRandomUniform() stdev is %f, should be %f\n", stats->sampleStdev, POISSON_STDEV);
+        printf("ERROR: psRandomUniform() stdev is %.2f, should be %.2f\n", stats->sampleStdev, POISSON_STDEV);
         testStatus = false;
     }
Index: trunk/psLib/test/dataManip/tst_psStats09.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psStats09.c	(revision 3127)
+++ trunk/psLib/test/dataManip/tst_psStats09.c	(revision 3160)
@@ -71,5 +71,5 @@
 
     printf("Called psVectorStats() on a vector with no elements masked.\n");
-    printf("The calculated clippedMean was %f\n", myStats->clippedMean);
+    printf("The calculated clippedMean was %.2f\n", myStats->clippedMean);
 
     printFooter(stdout,
@@ -85,5 +85,5 @@
 
     printf("Called psVectorStats() on a vector with no elements masked.\n");
-    printf("The calculated clippedStdev was %f\n", myStats->clippedStdev);
+    printf("The calculated clippedStdev was %.2f\n", myStats->clippedStdev);
 
     printFooter(stdout,
@@ -102,5 +102,5 @@
 
     printf("Called psVectorStats() on a vector with elements masked.\n");
-    printf("The calculated clippedMean was %f\n", myStats->clippedMean);
+    printf("The calculated clippedMean was %.2f\n", myStats->clippedMean);
     printFooter(stdout,
                 "psVector functions",
@@ -115,5 +115,5 @@
 
     printf("Called psVectorStats() on a vector with elements masked.\n");
-    printf("The calculated clippedStdev was %f\n", myStats->clippedStdev);
+    printf("The calculated clippedStdev was %.2f\n", myStats->clippedStdev);
     printFooter(stdout,
                 "psVector functions",
