PrintSettings.getDoubleWithDefault

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().

class PrintSettings
double
getDoubleWithDefault
(
string key
,
double def
)

Parameters

key string

a key

def double

the default value

Return Value

Type: double

the floating point number associated with key

Meta

Since

2.10