getValueNumber
Gets the value of a key when that value is a number.
Method of
Syntax
Number getValueNumber (
String subkey,
String valname);Parameters
The
getValueStringmethod has the following parameters:
subkeyThe key path to the appropriate location in the key hierarchy, such as "Software\\Netscape\\Navigator\\Mail".valnameThe name of the value-name/value pair whose value you want. Returns
Number value of the specified key or null if there's an error, the value is not found, or the value is not a string.
| Netscape Communications devedge.netscape.com |