Gentee Programming Language > Documentation > Libraries Download documentation

float2str

The function converts float into a string.
 
str float2str(
      str   ret,
      str   pattern,
      float   val
)

Parameters

retA string for obtaining the conversion result. If the string is not empty, data will be appended.
patternThe conversion pattern string completely coincides with the conversion pattern of the printf and sprintf functions.
valThe convertible value.

Return value

The function returns the parameter ret.

See also

    Strings    Working with strings


 Copyright © 2004-2006 Gentee Inc. All rights reserved.