SPSS Statistics

SPSS Statistics

Your hub for statistical analysis, data management, and data documentation. Connect, learn, and share with your peers! 

 View Only
  • 1.  Issue with transforming data

    Posted Fri February 07, 2025 10:07 AM

    Hi, 

    My programme gives out data which is not exactly precise and I get my variables in approximate values (it should be 0.1, 0.22, 0.3, etc). For instance, the values are:

    .090909094

    .100000001

    .100057390

    0.95480002

    When trying to perform analysis this is burdensome and I am trying to transform these values into exact numbers but can not figure out exactly how to do it. I have tried many ways of </>, etc, but nothing seems to work. Could someone please enlighten me how this can be done?

    Thanks, 

    Dom



    ------------------------------
    Domen Planinc
    ------------------------------


  • 2.  RE: Issue with transforming data

    Posted Fri February 07, 2025 10:17 AM
    can you use the round or truncate function? 





  • 3.  RE: Issue with transforming data

    Posted Fri February 07, 2025 10:29 AM
    You can  use the RND function with COMPUTE to round the values to any desired number of decimal places.  You could, alternatively, use TRUNC.


    --