use explit rouding function

Usage of integer pragma returns invalid results for large number, on 32-bits windows
Linux: correctly pass the logger object to LVM mod

Previously we were passing “inventory” where “logger” was expected.
properly pass $logger object