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...")
(No difference)

Revision as of 13:50, 23 May 2013

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: