Makes a number or null or other JScript object into a string.

Syntax

myString = TOSTRING(oObject); 

Parameters

oObject

Required. A JScript object. Usually it would be a number, that needs to be converted to a string. It can also be a string or other JScript object.

Return Value

String

The returned string

Example

Convert the number 12.5 into a string

     var myString = TOSTRING(12.5);
  • No labels