Isdouble () in VB6?

Is there any IsDouble() function in VB6? If I am not mistaken, the Double data type in VB6 is equivalent to float in SQL Server 2000.
Thank you very much for your suggestions.

< div class="answer">

Function IsDouble(ByVal varValue As Variant) As Boolean

Dim dblTest As Double

On Error Resume Next

dblTest = CDbl(varValue)

IsDouble = Err.Number = 0

End Function

VB6 Are there any IsDouble() functions? If I am not mistaken, the Double data type in VB6 is equivalent to float in SQL Server 2000.
Thank you very much for your suggestions.

Function IsDouble (ByVal varValue As Variant) As Boolean

Dim dblTest As Double

On Error Resume Next

dblTest = CDbl(varValue)

IsDouble = Err.Number = 0

End Function

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3423 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.