IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 8, 2005, 9:24:26 AM (21 years ago)
Author:
desonia
Message:

Updated the precision of the output of floats.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/tst_psStats09.c

    r2780 r3160  
    7171
    7272    printf("Called psVectorStats() on a vector with no elements masked.\n");
    73     printf("The calculated clippedMean was %f\n", myStats->clippedMean);
     73    printf("The calculated clippedMean was %.2f\n", myStats->clippedMean);
    7474
    7575    printFooter(stdout,
     
    8585
    8686    printf("Called psVectorStats() on a vector with no elements masked.\n");
    87     printf("The calculated clippedStdev was %f\n", myStats->clippedStdev);
     87    printf("The calculated clippedStdev was %.2f\n", myStats->clippedStdev);
    8888
    8989    printFooter(stdout,
     
    102102
    103103    printf("Called psVectorStats() on a vector with elements masked.\n");
    104     printf("The calculated clippedMean was %f\n", myStats->clippedMean);
     104    printf("The calculated clippedMean was %.2f\n", myStats->clippedMean);
    105105    printFooter(stdout,
    106106                "psVector functions",
     
    115115
    116116    printf("Called psVectorStats() on a vector with elements masked.\n");
    117     printf("The calculated clippedStdev was %f\n", myStats->clippedStdev);
     117    printf("The calculated clippedStdev was %.2f\n", myStats->clippedStdev);
    118118    printFooter(stdout,
    119119                "psVector functions",
Note: See TracChangeset for help on using the changeset viewer.