all groups > vb.net > january 2004 >
You're in the

vb.net

group:

Converting variables


Re: Converting variables Mike Hildner
1/3/2004 9:24:01 AM
vb.net:
How about
CType(Math.Ceiling(1.2), Integer)


[quoted text, click to view]

Converting variables Gene
1/3/2004 11:52:48 PM
I try that ctype(1.1, integer) will turn it to 1
and ctype(1.8, integer) will ture to 2
but how to convert 1.1 to integer but to 2?
is there any method to do this?

Re: Converting variables Gene
1/4/2004 12:36:57 AM
I get it~
Thank you very much!!!

"Mike Hildner" <mhildner@afweb.com> ¼¶¼g©ó¶l¥ó·s»D
:OFQR#Xh0DHA.2456@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button