another case of round()
This commit is contained in:
parent
b395c12fdb
commit
570b19b2ff
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ Altimeter::update (double dt)
|
|||
_mode_c_node->setDoubleValue(100 * SGMiscd::round(raw_PA/100));
|
||||
_kollsman = fgGetLowPass(_kollsman, _altimeter.kollsman_ft(setting), trat);
|
||||
if (_quantum)
|
||||
press_alt = _quantum*round(raw_PA/_quantum);
|
||||
press_alt = _quantum * SGMiscd::round(raw_PA/_quantum);
|
||||
else
|
||||
press_alt = raw_PA;
|
||||
_press_alt_node->setDoubleValue(press_alt);
|
||||
|
|
Loading…
Reference in a new issue