What is the equivalent of Double DataType in SQL Server 2008

Last Reply on Dec 03, 2013 10:06 PM By Mudassar

Posted on Dec 03, 2013 10:05 PM

Hi,

     Iam developing leave management system.if user select HALF DAY leave means i have to detect 0.5 day from 1.

       but while coding 0.5 is double cannot convert into float.

       i attempted decimal,float and real also in sql.              

      What is the equivalent of double  in sql server 2008

Posted on Dec 03, 2013 10:06 PM

You can use Float, decimal(10, 2), numeric(10, 2)

I agree, here is the link: https://www.e-iceblue.com/Introduce/spire-office-for-net-free.html