On vb.net i use the the Int() function http://msdn.microsoft.com/en-us/library/xh29swte(v=vs.90).aspx , but it looks like it's not available for win apps. I was wondering
if there is an equivalent (other than cint) or a way too achieve the same result by using some tricks?