(prod): Fix rounding of value in column `max'.
This commit is contained in:
parent
d40ea86b61
commit
6c852f2a56
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ prod(void)
|
|||
}
|
||||
if (vtype != I_NONE || pp->p_level == NAT_ELEV
|
||||
|| pp->p_level == NAT_HLEV)
|
||||
pr(" %4d\n", min(999, (int)(max * prodeff + 0.05)));
|
||||
pr(" %4d\n", min(999, (int)(max * prodeff + 0.5)));
|
||||
else
|
||||
pr(" %1.2f\n", maxr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue