floatToStr(c); StrToInt(c); writeln(c); The compiler points to the second line and produces: you cannot convert the type real to string I need to convert real to integer , and с the beginning it has type real
floatToStr(c); StrToInt(c); writeln(c); The compiler points to the second line and produces: you cannot convert the type real to string I need to convert real to integer , and с the beginning it has type real
Source: https://ru.stackoverflow.com/questions/951368/
All Articles
c- has arealtype. The second function accepts a string - and what do you pass on to it? ... - Harry