Gambas Documentation
Documents

Conversion Functions

CBool Converts a value to a Boolean.
CByte Converts a value to a Byte.
CDate Converts a value to a Date.
CFloat Converts a value to a Float.
CInt or CInteger Converts a value to an Integer.
CLong Converts a value to a Long.
Conv$ Converts a string from a charset to another charset.
CPointer Converts a value to a Pointer.
CShort Converts a value to a Short.
CSingle Converts a value to a Single.
CStr or CString Converts a value to a String.
CVariant Converts a value to a Variant.
DConv$ Converts a string from the system charset to UTF-8 (the desktop charset).
FromBase or Dec Converts a string to an Integer using a specific base.
SConv$ Converts a string from UTF-8 (the desktop charset) to the system charset.
Str$ Converts a number or a date into a string.
Val Converts a string into a number or a date.