Make sure types returned by total_x methods are floats