Float Text IO
For numeric Floats Input and Output.
with Ada.Float_Text_IO;
Put
Put
Writes number in format String to output.
Standard Default Output is the console.
Put(f: Float);
Put(f: Float, Bef: Integer := 5, Aft: Integer := 5, Exp: Integer);
-- f : Value to display
-- Bef : Number of digits before decimal dot
-- Aft : Number of digits after decimal dot
-- Exp : Exponent notation
-- 0 : Doesn't display the Exponent notation
Get
Get
Reads a number from the Standard Input (Console)
Get(f: float); -- Set's f to input from console