Previous: 4.67.2.84. Sqrt function To the Table of Contents Next: 4.67.2.86. Succ function
4.67.2.84. Sqrt function Table of Contents 4.67.2.86. Succ function

- 4.67.2.85. -
Table of Contents
4. Standard Units
4.67. System - Built-in routines
4.67.2. System Unit Procedures and Functions
4.67.2.85. Str procedure


4.67.2.85. 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: 4.67.2.84. Sqrt function To the Table of Contents Next: 4.67.2.86. Succ function
4.67.2.84. Sqrt function Table of Contents 4.67.2.86. Succ function

- 4.67.2.85. -