mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
Send FP altitude without unit
https://discordapp.com/channels/539048679160676382/539846348275449887/593211815559823367 https://discordapp.com/channels/539048679160676382/539846348275449887/593063154238619649
This commit is contained in:
committed by
Mat Sutcliffe
parent
fba288edc3
commit
693c94c87a
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user