Hi everyone,
I'm working on this file that involves feeding numbers into a predictive model. The model wasn't performing as I imagined it would so I decided to take a sample and investigate some of my records.
I found that the amount in my output file didn't match the input file I was feeding into my workflow. After some digging around, I discovered that setting the data type to float changed the actual number in some of the rows. I filtered for for a sample and checked. In one of the rows, the amount going into the select tool was 44860857.16 (no commas) and the amount coming out of the select tool was 44,860,840 (which is the same as the number in the row above).
Changing the data type of the field to double fixed the issue, but I'm struggling to understand why setting the data type to float would do this when it's well within the bounds of min an max values supported by floats.
Any and all help would be much appreciated
Thanks!