Stats

36 Contributors: 3
2016-08-04
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook

Type conversion

Download vb.net eBook

Syntax

  • CBool(expression)
  • CByte(expression)
  • CChar(expression)
  • CDate(expression)
  • CDbl(expression)
  • CDec(expression)
  • CInt(expression)
  • CLng(expression)
  • CObj(expression)
  • CSByte(expression)
  • CShort(expression)
  • CSng(expression)
  • CStr(expression)
  • CUInt(expression)
  • CULng(expression)
  • CUShort(expression)

Parameters

Function nameRange for Expression argument
CBoolAny valid Char or String or numeric expression
CByte0 through 255 (unsigned); fractional parts are rounded.
CCharAny valid Char or String expression; only first character of a String is converted; value can be 0 through 65535 (unsigned).

Related Examples