This topic has been locked.
4 replies Latest Post - 2013-01-09T06:26:43Z by SystemAdmin
Pinned topic NumbertoString
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Could someone please explain with an example NumbertoString function.I am still very confused about its usage.Thanks in advance
Updated on 2013-01-09T06:26:43Z at 2013-01-09T06:26:43Z by SystemAdmin
Rizwan.Kaif 27000219XW197 PostsACCEPTED ANSWER
Re: NumbertoString2013-01-08T15:13:57Z in response to SystemAdminNumberToString() is used to convert the value of a Number type variable to a string. There are many situations in which we need to do this.
Sometimes we need to concatenate a number with a string. For example Product ID with the Product Names where the Product ID is Number type and Product Name is String type. In this case we need to convert the Number type to String.
vID = 123; vName = 'Apple'; vFullName = NumberToString(vID) | vName;
Also when you are doing the ASCIIOUTPUT() you are required to convert all the numbers to string so that you can output them to file.
ASCIIOUTPUT( vFileName, NumberToString(vID) , vName , vFullName);
Hope that helps!
Rizwan.Kaif 27000219XW197 Posts