How do you convert a string into a float or a integer in Ada?
i'm supposed to dive a Float with a String and the sum is suposed to be an integer.
procedure Kvoten_Av(Flyt: in Float;
Str: in String;
Kvot: out Integer) is
begin
Kvot:= Integer(Flyt / Float(Str));
end Kvoten_Av;
This obviously doesnt work but it was my first guess