#include <Wt/Ext/NumberField>
Public Member Functions | |
NumberField (WContainerWidget *parent=0) | |
Create a new number field. | |
void | setValue (double value) |
Set the value. | |
double | value () const |
Get the value. | |
void | setDecimalPrecision (int decimals) |
Set the precision to be displayed. | |
int | decimalPrecision () const |
Return the decimal precision. |
You may set a WIntValidator or WDoubleValidator to specify in more detail the valid range, and the client-side validation messages.