Files
open-cas-linux/casadm
Michal Mielewczyk ffaaaa0a34 casadm: don't cast a float to an int explicitly
If an underflowed float number was casted to an int explicitly, it's value was
rounded to a lower value.

Using `round()` function ensures that the number will be always rounded to a
nearest integer.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2021-01-29 09:25:16 -05:00
..
2021-01-21 13:15:38 +01:00
2021-01-21 13:15:38 +01:00
2021-01-21 15:50:17 -06:00
2021-01-21 15:50:17 -06:00
2021-01-21 13:15:38 +01:00
2021-01-21 13:15:38 +01:00
2021-01-21 13:15:38 +01:00
2021-01-21 13:15:38 +01:00
2021-01-21 13:15:38 +01:00
2021-01-21 13:15:38 +01:00
2021-01-21 13:15:38 +01:00
2021-01-21 13:15:38 +01:00
2021-01-21 13:15:38 +01:00
2021-01-21 13:15:38 +01:00
2021-01-21 13:15:38 +01:00