• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2801
  • Last Modified:

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
0
Baumer
Asked:
Baumer
1 Solution
 
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

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now