mirror of https://github.com/fltk/fltk
Fixes return type of Fl_Input_::dvalue()
This commit is contained in:
parent
6f021d4830
commit
d1d38090fb
|
@ -264,7 +264,7 @@ public:
|
|||
|
||||
int ivalue() const;
|
||||
|
||||
int dvalue() const;
|
||||
double dvalue() const;
|
||||
|
||||
/* Returns the Unicode character at index \p i. */
|
||||
unsigned int index(int i) const;
|
||||
|
|
|
@ -1506,7 +1506,7 @@ int Fl_Input_::ivalue() const {
|
|||
\see Fl_Input_::ivalue()
|
||||
\see Fl_Input_::value(double)
|
||||
*/
|
||||
int Fl_Input_::dvalue() const {
|
||||
double Fl_Input_::dvalue() const {
|
||||
return atof(value());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue