Returns a string representation of this Unit.
Namespace: MindFusion.Mapping
Package: Unit.js
JavaScript Copy Code |
---|
function toString () |
String. The string representation.
The following code creates a new Unit and prints its value using the toString method:
JavaScript Copy Code |
---|
var m = MindFusion.Mapping; var unit = new m.Unit.pixel(100); console.log(unit.toString()); |