The setFloat method of the ObjectDictionary class creates a float variable.
public void setFloat(String name, float f);