next up previous contents
Next: Mathematical Intrinsic Functions Up: Intrinsic Procedures Previous: Intrinsic Procedures

Type Conversion Functions

It is easy to transform the type of an entity,

All above are intrinsic functions. For example,

    PRINT*, REAL(1), INT(1.7), INT(-0.9999) 
    PRINT*, IACHAR('C'), ACHAR(67)

are equal to

    1.000000 1 0
    67 C

For more information, click here gif

Now try this question gif


next up previous contents
Next: Mathematical Intrinsic Functions Up: Intrinsic Procedures Previous: Intrinsic Procedures

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 18:56:08 GMT 1996
Not for commercial use.