Previous: Sqrt function To the Table of Content Next: Succ function

- 4.62.2.85 -
Standard Units
System Unit
System Unit Procedures and Functions

Str procedure

Targets: MS-DOS, OS/2, Win32

System Unit

Converts a numeric value to a string.

Declaration:
procedure Str(X [: Width [: Decimals ]]; var S:string);
Remarks:
X is either a real or integer type. Width, if specified, is the number of characters to reserve for the integer portion of the number. Decimals, if specified, is the number of character to reserve for the decimal portion of a real type number.

S returns the result of the operation. Str formats numbers exactly like Write does when printing integers or real types.

See also:
Val


Previous: Sqrt function To the Table of Content Next: Succ function
Sqrt function Table of Content Succ function

- 4.62.2.85 -