Below is the part of code that I am using in a SQL Server stored procedure.
DECLARE @MinimumTime FLOAT,
        @filter VARCHAR(MAX)
SET @MinimumTime = 43885.664166666664241
SELECT @filter =  COALESCE('[Time.Minimum] >= ' + CAST(@MinimumTime AS varchar(MAX)), '')
PRINT @filter
This produces this output:
[Time.Minimum] >= 43885.7
which is not the expected one and impacting output of the procedure. I don't want this numerical value to be rounded off. I want the complete float value I have passed. Something like below.
[Time.Minimum] >= 43885.664166666664241
Please let me know if you need any additional information.
 
     
     
     
    