Name

tostring — Converts a floating point number to a string

Synopsis

string tostring ( float FLOAT ,
  integer PRECISION );
 

Parameters

float FLOAT

integer PRECISION

Return

string

Description

Converts a floating point number to a string, using the specified precision.

Usage

  tostring (0.12345, 4) -> 0.1235