Number.longValue()
Signature
long longValue (String s, int radix)
Domain
ACTION, CONDITION, QUERY, BUI
Description
Returns an long holding the value extracted from the specified String when
parsed with the radix given by the second argument. The first argument is
interpreted as representing a signed long in the radix specified by the
second argument. The result is a long object that represents the long
value specified by the string.
Parameters
| Name | Type | Description |
s | String | A String containing a long (in the radix specified) to be converted to an long. |
radix | int | The radix to use when converting the integer in the String s to an long. |
Returns
| Type | Description |
long | The value of the long in the String passed based on the passed radix (number base). |