get_double_with_default


Description:

[ Version ( since = "2.10" ) ]
public double get_double_with_default (string key, double def)

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 ascii_strtod.

Parameters:

this

a PrintSettings

key

a key

def

the default value

Returns:

the floating point number associated with key




2022 vala-language.org