@Nullable fun getDefaultDouble(key: String!): Double?
(source)
Get a default value from this configuration as a double.
key
- String!: A configuration key (e.g. "server.priority"
).
InvalidConfigurationPropertyTypeException
- If the default value is not a double.
Return
Double?: The value, or null if no default was available.