2
I am using Python inside the SPSS to read some values within a dataset. These values are stored in a list. I am using 15 decimal places and in the list the values appear with 15 houses. However when I copy the value to a variable this stores with up to 12 houses. Ex. list = [0,123456789101112, 0,987654321012345]
x = Lite[0]
When use x is loaded type 0,123456789.
This happens even if I use: x = float(list[0]). Python version is 2.7.6 and SPSS 23.
Yes, floating points have display and value problems. There is not much to do when it comes to numbers of this kind.
– Jefferson Quesado
I recommend reading this question: https://answall.com/q/219211/64969 and watching this video: https://youtu.be/pQs_wx8eoQ8
– Jefferson Quesado