Convert a REAL to a STRING in TURBO PASCAL

How can I convert a REAL to A STRING in Borland Turbo Pascal 6.0 ?


Thanks Baumer
BaumerAsked:
Who is Participating?
 
YunoshevCommented:
I think it should work......

procedure RealToStr(const TheReal: Real; const TotalWidth, SignifDigits: Byte; TheString: string);
begin
  Str(TheReal: TotalWidth: SignifDigits, TheString);
end;


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.