Difference between revisions of "Str"
From Free Pascal wiki
Jump to navigationJump to search (Created page with "Procedure '''Str''' converts the numeric (real, Integer, Longint, Byte or Word) value to a string representation according to the '''Width''' and '''Decima...") |
m |
||
Line 1: | Line 1: | ||
− | Procedure '''Str''' converts the numeric ([[ | + | Procedure '''Str''' converts the numeric ([[Real]], [[Integer]], [[Longint]], [[Byte]] or [[Word]]) value to a string representation according to the '''Width''' and '''Decimals''' formatting parameters. |
X is an integer-type or real-type expression. Width and Decimals are integer-type expressions. S is a string-type variable. | X is an integer-type or real-type expression. Width and Decimals are integer-type expressions. S is a string-type variable. |
Revision as of 23:13, 21 July 2015
Procedure Str converts the numeric (Real, Integer, Longint, Byte or Word) value to a string representation according to the Width and Decimals formatting parameters.
X is an integer-type or real-type expression. Width and Decimals are integer-type expressions. S is a string-type variable.
Declaration
procedure Str(X [: Width [: Decimals ]]; var S);
See also: