Package: glib

Function glib:key-file-double

Lambda List

glib:key-file-double (keyfile group key)

Arguments

keyfile -- a g:key-file instance
group -- a string for the group name
key -- a string for the key

Return Value

The double float with the value associated with the key as a double float, or 0.0 if the key was not found or could not be parsed.

Details

The g:key-file-double function returns the value associated with key under group as a double float. If group is nil, the start group is used.

The (setf g:key-file-double) function associates a new double float with key under group. If key cannot be found then it is created.

If key cannot be found then 0.0 is returned. Likewise, if the value associated with key cannot be interpreted as a double float then 0.0 is returned.
 

See also

2025-1-12