Ref T215, PQ integer support

This commit is contained in:
Klaus Basan
2018-01-03 20:04:38 +01:00
parent 35af956c95
commit b2c0d726bc
2 changed files with 22 additions and 1 deletions

View File

@@ -107,6 +107,12 @@ namespace BlackMisc
//! As integer value
int valueInteger(MU unit) const;
//! As integer value in current unit
int valueInteger() const;
//! Is value an integer
bool isInteger() const;
//! Rounded value in current unit
//! \note default digits is CMeasurementUnit::getDisplayDigits
double valueRounded(int digits = -1) const;