CUInt Function
SyntaxGroupCUInt(expr)
ConversionDescription
Convert to an UInteger. If expr is too big (or too small) to fit then an overflow error occurs.VBA
This language element is not VBA compatible and requires the #Language "WWB-COM" setting.
Parameters Description expr Convert a number or string value to an UInteger.
Sub Main Debug.Print CUInt(1.6) ' 2 End Sub