Previous: , Up: Data Conversion   [Contents][Index]


11.7.3 Number Conversion

These routines convert to another data type on a number-by-number basis. If a "wider" data type is converted to a "narrower" one, then the data value is truncated, except where noted.

byte

To convert to byte.

cdouble

To convert to cdouble.

cfloat

To convert to cfloat.

complex

To convert to a complex data type.

doub

To convert to double.

double

To convert to double.

fix

To convert to long.

float

To convert to float.

floor

To convert to long, by substituting the next-lower integer value to a fractional value if necessary.

int

To convert to word.

int64

To convert to int64.

long

To convert to long.

rfix

To convert to long, by substituting the nearest integer value if necessary.

word

To convert to word.