converts an InstallVersion init object to a string.

Method of

InstallVersion object


String version = InstallVersion.toString ( initObj );


The toString method has the following parameter:

initObj is an InstallVersion object whose init method has been called.


The major, minor, revision, and build numbers represented as a single string.

The init() function can input the version number as a single string or as a series of parameters representing the version numbers of the installation. To get the version number out of an InstallVersion object in order to compare it with other versions, you can call toString() and get back the version as a string in the format "maj.min.rev.bld."


var vi = new InstallVersion();
vi.init("999.888.777.666"); //random string
viString = vi.toString();

Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, Sheppy, ethertank, trevorh, Fredchat, Rod Whiteley
Last updated by: mdnwebdocs-bot,