[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Real_to_Str


Purpose   Converts a real number to a string.

Decln.    Real_to_Str(Number:real;D:byte):string;

Returns   String

Remarks   Number is the real to be converted.

          D is the number of decimal places. If D is set to Floating (a
          constant in the Toolkit), then the actual number of significant
          decimal places will be used.

Example

VAR
  TTT : STRING;
BEGIN
    TTT := REAL_TO_STR(12345.789990,2);
END;

The variable TTT is assigned the value "12345.79".

See Also: Real_to_SciStr Str_to_Real
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson