String Function

See Also: String Functions, Type Conversion Functions, Date, Integer, Number, Real, Round, String

Purpose

String returns data of type String regardless of the type of the source value.

Return Type

String

Syntax

(String( {expression} ))

What It Does

String returns the value of {expression} as a string.

Procedure Test

    number nNum

    string sFormatted

 

    Move -45 to nNum

    Move ("$" + String(nNum) + ".00") to sFormatted

End_Procedure

In this example, the string "$-45.00" is moved to the string variable sFormatted.

Notes