IupGetFloat

Returns the value of an interface element attribute as a floating point number.

Parameters/Return

float IupGetFloat(Ihandle *ih, const char *name)  [in C]
float IupGetFloatId(Ihandle *ih, const char *name, int id)  [in C]
float IupGetFloatId2(Ihandle* ih, const char* name, int lin, int col)  [in C]
[There is no equivalent in Lua]

ih: Identifier of the interface element.
name: name of the attribute.
id, lin, col: used when the attribute has additional ids.

Returns: a float corresponding to the attribute’s value.

See Also

IupGetAttribute, IupGetInt.