Difference between revisions of "Str"

From Free Pascal wiki
Jump to navigationJump to search
m
Line 1: Line 1:
 +
{{Str}}
 +
 
Procedure '''Str''' converts the numeric ([[Real]], [[Integer]], [[Longint]], [[Byte]] or [[Word]]) value to a string representation according to the '''Width''' and '''Decimals''' formatting parameters.
 
Procedure '''Str''' converts the numeric ([[Real]], [[Integer]], [[Longint]], [[Byte]] or [[Word]]) value to a string representation according to the '''Width''' and '''Decimals''' formatting parameters.
  

Revision as of 21:49, 22 March 2018

Deutsch (de) English (en) русский (ru)

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: