Help Center›FreeBASIC
Converting Data Types
24 entries across 1 topic.
Topics
All entries
Procedures 24
CastConverts an expression to a specified data typeCBoolConverts numeric or string expression to a boolean (Boolean)CByteConverts numeric or string expression to Byte.CDblConverts numeric or string expression to Double precision floating pointCIntConverts a numeric or string expression to an Integer or an Integer<bits>CLngConverts numeric or string expression to LongCLngIntConverts numeric or string expression to 64-bit integer (LongInt)CPtrConverts a pointer expression to a specified data type pointerCShortConverts numeric or string expression to an integer (Short)CSignConverts an expression to signedCSngConverts numeric or string expression to Single precision floating pointCUByteConverts numeric or string expression to an unsigned byte (UByte)CUIntConverts numeric or string expression to a UInteger or UInteger<bits>CULngConverts numeric or string expression to ULongCULngIntConverts numeric or string expression to 64-bit unsigned integer (ULongInt)CUnsgConverts an expression to unsignedCUShortConverts numeric or string expression to an unsigned integer (UShort)StrReturns a string representation of a number, boolean or Unicode character stringValConverts a string to a floating point numberValIntConverts a string to a 32bit integerValLngConverts a string to a 64bit integerValUIntConverts a string to an unsigned 32bit integerValULngConverts a string to a unsigned 64bit integerWStrReturns a wide-character string representation of a number or ASCII character string