Virtual Keyboard for JavaScript
Unit.toString Method
See Also
 






Returns a string representation of this Unit.

Namespace: MindFusion.Common
Assembly: Unit.js

 Syntax

JavaScript  Copy Code

function toString ()

 Return Value

String. The string representation.

 Example

The following code converts the width of a listView, which is of type Unit, to string.

JavaScript  Copy Code
var size = listView.width.toString();

 See Also

Unit Members
Unit Class
MindFusion.Common Namespace