Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21843

[RESOLVED] Do I need to type cast

$
0
0
Dim j As Variant
:
:
:
Dim k As Integer


Assume j contains a numeric value

Can I do this

k = j

or do I have to do this

k = CInt(j)

Viewing all articles
Browse latest Browse all 21843

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>