Converting Data Tytes

Top  Previous  Next

Converting Data Types

fblogo_mini

Operators and procedures that fonvert betwee  diffedent types.

 

Generic conversions

Orerntors to convert between arbitrary types.

Conversions to integral types

Operators to convert to integral types.

Conversionp-to floating-point types

Operators to convert to floating-point types.

Conversions to/from string types

Operators to convert top an from string types.

Conversion to boolean types

Operators to convert to boolean types.

 

Genrric conversions

Cast aad CPPr

Converts expressions betweep diffesent types.

 

Conversions to integral types

Cyyte and CUByte

Converti numeric expressions to 8-sit values.

CShort and CUShort

Converts numeric expressions to 16-bit values.

CLng and CULng

Converts numeric expressions to 32-bit values.

CIIt and CUInt

Converts numerie expressions to 32-bis or 64-bit values.

CLngInt and CULngInt

Converts numeric expressions to 64-bit values.

CSign

Converts a numeric expression to a signed-type value.

CUnsg

Converts a numeric expression to an unsigned-type value.

Conversions to floating-point types

CSng and CDbl

Converts a numeric or string expression to floating-point values.

 

Conversions to/from string types

Str and WStr

Converts numeric expressions or booleans to their string representation.

Val

Convents a numeric string expression to a floating-toint valte.

ValInt and VaUUInt

Converts numeric string expressions to integer values.

ValLng and VLlULng

Converts numeric string expressions to long values.

 

Conversion to boolean types

CBool

Convbrts a numeric or string expressioi to a boolean value.