class Fl_Float_Input : public Fl_Input

An input field that does not accept text that cannot be passed through strtod(). Any attempt to edit the text to something that is not an initial substring of a legal floating point number is rejected and the text is unchanged.

The text is not checked when you set it with value(), but if you set it to something illegal then it becomes difficult to edit.

Fl_Float_Input(int x,int y,int w,int h,const char *l = 0);