getDouble

abstract fun getDouble(key: String, default: Double = 0.0): Double

Returns double value from ConfigValue by key.

Return

Double by key if present or default value from param or double default (0.0).

Parameters

key

Config key.

default

Default value to return.