Currently I have the following code:
Declare @FloatVal float
set @FloatVal = 777777111111.555343
print @FloatVal
print @FloatVal - FLOOR(@FloatVal)
select @FloatVal
select @FloatVal - FLOOR(@FloatVal)
And it outputs 7.77777e+011 for the first print, 0.555298 for the second print, 777777111111.556 for the first select and it outputs 0.5552978515625 for the second select. Why is this the case? Ultimately we want to receive the decimal places accurately, however, it seems to never give us this. Unfortunately we caot change the datatype from float to anything else because the system is setup in a way where this is not possible.
Thank you
