i guess thats where my confusion lies, I wouldnt expect high precision numbers to be exactly the same, but I just assumed 1 would. :<
ok im even more confused
I changed the value to 2 and it shows exactly as 2. then I changed it back to 1 and now it shows as 1.
now I cant get the weird 1.xxxx
I once worked on a companies proprietary editors that were written internally to use the empirical system (feet, yards, inches, lbs etc..), and was tasked to allow the editor and tools to optionally work in metric units as the toolset was licensed internationally. The engine had to internally continue to operate with the empirical system (owners demand).
The code base was about 3 million lines, which comprised about 4 different editor/tools. All with GUIs and input/output files that had to now accept and output metric units while converting everything to empirical internally, back and forth. Worse is they had a proprietary scripting language that now also had to be able to accept metric literals (but be converted to empirical internally), as well as toolset plugins for 3rd party tools like Max and Maya.
Even if the owner hadn't demanded the internal code remain based in empirical units, converting the internal code itself to work with arbitrary units or metric units was a virtual impossibility. Within the millions of lines of code where 10's of thousands of literal numbers, written over decades by hundreds of different people. Knowing which of those were just magic numbers and which represented spatial/mass units was impossible.
I never finished that task. It worked 99.99% of the time, but that still left hundreds of instances where things just 'broke down', especially at the user level experiencing things like you are pointing out in this thread.
This was an extreme case where the imprecision of floats becomes obvious. However, even without converting units, that imprecision is present when dealing with binary floats.
EDIT: What is really messed up is that was a long time ago, but occasionally I find myself still thinking about it! Ooh, I could do this or that. That company doesn't even exist anymore and I am still thinking about their problems.