Leffler
06-03-2009, 02:13 PM
Hi!
I want to compare some values, but I seem to have some weird "accounting-errors". The values are equal for the first 6 decimals, then something weird happens
Like this
What is Sel: L_shldr_Stretch_mdNode
What is inp1 : 7.41289711
What is inp2 : 7.41289711
What is Sel: R_shldr_Stretch_mdNode
What is inp1 : 7.412885666
What is inp2 : 7.412888527
So if i compare if inp1 is the same value as inp2, it will give me false
Is it possible to sort of "cut away" those last decimals?
Thanks,
Otto
I want to compare some values, but I seem to have some weird "accounting-errors". The values are equal for the first 6 decimals, then something weird happens
Like this
What is Sel: L_shldr_Stretch_mdNode
What is inp1 : 7.41289711
What is inp2 : 7.41289711
What is Sel: R_shldr_Stretch_mdNode
What is inp1 : 7.412885666
What is inp2 : 7.412888527
So if i compare if inp1 is the same value as inp2, it will give me false
Is it possible to sort of "cut away" those last decimals?
Thanks,
Otto
