use explit rouding function

Usage of integer pragma returns invalid results for large number, on 32-bits windows