Str()

Convert a number into a String. Allows for the Data-Type.

PräprozessorThe function is also available in the Preprocessor, and does not generate any machine code because only constants are used.

Syntax: String = Str(Expression)

Example:

  dim s as string
  s = Str(-23.42)  ' output: "-23.42"