Klaus Basan
2019-06-26 11:30:01 +02:00
parent 8593eb412c
commit 7e34398a4a
3 changed files with 9 additions and 4 deletions

View File

@@ -104,11 +104,15 @@ namespace BlackMisc
//! Set value in current unit
void setCurrentUnitValue(double value);
//! As integer value
//! As integer value @{
int valueInteger(MU unit) const;
QString valueIntegerAsString(MU unit) const { return QString::number(this->valueInteger(unit)); }
// @}
//! As integer value in current unit
//! As integer value in current unit @{
int valueInteger() const;
QString valueIntegerAsString() const { return QString::number(this->valueInteger()); }
// @}
//! Is value an integer
bool isInteger() const;