System.getSystemPropertyAsDouble()
Signature
double getSystemPropertyAsDouble (String propertyKey, double defaultValue)
Description
Returns the requested System property value as an double.
Parameters
Name | Type | Description |
propertyKey | String | The property key to set a new value for. |
defaultValue | double | The value to return if the requested value is not present. |
Returns
Type | Description |
double | The requested System property value as an double. |
Example
System.getSystemPropertyAsDouble ("be.mydouble", 5.0);
Result is: The double value of the System property "be.mydouble".