Converts an object to a string.

Syntax

JSV_toString(expO)

Prototype

See Remarks

Returns

Returns a string representing the specified object.

Parameters

The toString function uses the following argument.

Argument Description
expO The object that is to be converted into a string.

Remarks

Deprecated. Use the toString method of Object that returns a string representation of the specified object.

Dependencies

n/a

Example

The following lines of code

var testNumber = 12.34,
    testString = JSV_toString(testNumber);
document.write( "The " + 
    typeof(testNumber) + " " +
    testString.bold() + 
    " has been converted to a " + 
    typeof(testString) );

produce