Solution to find integer with the closest weight (5.4).