I'm creating a list out of the patch variable "geb-id" (a 7-digit integer number) with the following line:
set geb-id-list [geb-id] of patches with [geb-id >= 0 AND residents != 0]
When I look at the produced list, all looks fine. Then I'm using
set geb-id-list remove-duplicates geb-id-list
to remove the duplicates, as there are several patches with the same geb-id
but I only want one geb-id
per list. The list now doesn't contain any duplicates anymore, but some of the numbers have turned into random floating point numbers and I cannot trace back where these numbers suddenly came from (I checked the source data and they don't contain any floating point numbers).
For example:
The list with duplicates:
[ 133349 133349 133351 133351 133351 133360 133360 133360 133375 133375 133375 ]
The list without duplicates:
[ 133349 133351 133360 209587.61538461538 133915.6666666667 1518018.2 133375 ]
The floating point numbers that appear in the list without duplicates do not appear in the original list (even when removing the digits after the comma).
Here is the list with with the geb-id's as a csv file.