27 #include "../../../datatype/NumericProperty.h"
29 #include "ui_NumericPropertyWidgetForm.h"
34 m_ui(new Ui::NumericPropertyWidgetForm)
51 if(m_ui->m_scaleLineEdit->text().isEmpty() ==
false)
54 unsigned int scale = m_ui->m_scaleLineEdit->text().toUInt(&ok);
60 if(m_ui->m_precisionLineEdit->text().isEmpty() ==
false)
63 unsigned int precision = m_ui->m_precisionLineEdit->text().toUInt(&ok);
An atomic property like an integer or double.
void setScale(unsigned int scale)
Sets the count of decimal digits in the fractional part, to the right of the decimal point...
The type for arbitrary precison numbers, like numeric(p, q).
void setPrecision(unsigned int precision)
Sets the total count of significant digits in the whole number, that is, the number of digits to both...