get_float


Description:

[ Version ( since = "0.1.5" ) ]
public float get_float (KeyID key)

Returns the first float value associated with key from this.

If key has no first value, or value is not a gfloat, or key is not in data, then 0 is returned.

Parameters:

this

data to inspect

key

key to use

Returns:

float value associated with key, or 0 in other case.




2022 vala-language.org