[comp.lang.ada] HELP! HELP! HELP! need to display D

stt@inmet.inmet.com (04/12/91)

Re: Output of Duration

Try the following:

    with Text_IO; pragma Elaborate(Text_IO);
    package Duration_IO is new Text_IO.Fixed_IO(Duration);

    with Duration_IO, Text_IO;
    procedure Main is
    begin
        Duration_IO.Put(86399.99);
        Text_IO.New_Line;
    end Main;

This should solve your problem, I hope.

-Tucker Taft
Intermetrics, Inc.
Cambridge, MA  02138