getDoubleWithDefault

open fun getDoubleWithDefault(key: String, def: <Error class: unknown class>): <Error class: unknown class>

Returns the floating point number represented by the value that is associated with @key, or @default_val if the value does not represent a floating point number.

Floating point numbers are parsed with g_ascii_strtod().

Return

the floating point number associated with @key

Parameters

key

a key

def

the default value