Realvalue to String

Guys i have a REAL DATATYPE VALUE and i want to assign this value to a STRING TYPE VARIABLE.

i.e

STRVALUE = (TRANS.QTY);

How can i do this please help.

STRVALUE = num2str(TRANS.QTY,… //+other parameters;

Hi Kami,

You can use STRVALUE = any2str(TRANS.QTY);

you can find all available functions here,

http://msdn.microsoft.com/en-us/library/aa856741(v=AX.50).aspx