VMS Help  —  RTL Routines, OTS$  OTS$CNVOUT
    The Convert Floating to Character String routines convert a
    D-floating, G-floating, H-floating, IEEE S-floating, or IEEE
    T-floating number to a character string in the Fortran E format.

    Format

      OTS$CNVOUT  D-G-H-S-or-T-float-pt-input-val

                  ,fixed-length-resultant-string ,digits-in-fraction

      OTS$CNVOUT_G  D-G-H-S-or-T-float-pt-input-val

                    ,fixed-length-resultant-string

                    ,digits-in-fraction

      OTS$CNVOUT_H  D-G-H-S-or-T-float-pt-input-val

                    ,fixed-length-resultant-string

                    ,digits-in-fraction (VAX only)

      OTS$CNVOUT_S  D-G-H-S-or-T-float-pt-input-val

                    ,fixed-length-resultant-string

                    ,digits-in-fraction (VAX only)

      OTS$CNVOUT_T  D-G-H-S-or-T-float-pt-input-val

                    ,fixed-length-resultant-string

                    ,digits-in-fraction (VAX only)

1  –  Returns

    OpenVMS usage:cond_value
    type:         longword (unsigned)
    access:       write only
    mechanism:    by value

2  –  Arguments

 D-G-H-S-or-T-float-pt-input-val

    OpenVMS usage:floating_point
    type:         D_floating, G_floating, H_floating, IEEE
                  S_floating, IEEE T_floating
    access:       read only
    mechanism:    by reference

    Value that OTS$CNVOUT converts to a character string. For
    OTS$CNVOUT, the D-G-H-S-or-T-float-pt-input-val argument is
    the address of a D-floating number containing the value. For
    OTS$CNVOUT_G, the D-G-H-S-or-T-float-pt-input-val argument is
    the address of a G-floating number containing the value. For
    OTS$CNVOUT_S, the D-G-H-S-or-T-float-pt-input-val argument is the
    address of an IEEE S-floating number containing the value. For
    OTS$CNVOUT_T, the D-G-H-S-or-T-float-pt-input-val argument is the
    address of an IEEE T-floating number containing the value.

 fixed-length-resultant-string

    OpenVMS usage:char_string
    type:         character string
    access:       write only
    mechanism:    by descriptor, fixed length

    Output string into which OTS$CNVOUT writes the character string
    result of the conversion. The fixed-length-resultant-string
    argument is the address of a descriptor pointing to the output
    string.

 digits-in-fraction

    OpenVMS usage:longword_unsigned
    type:         longword (unsigned)
    access:       read only
    mechanism:    by value

    Number of digits in the fractional portion of the result. The
    digits-in-fraction argument is an unsigned longword containing
    the number of digits to be written to the fractional portion of
    the result.
Close Help