How to convert float value to int while updating in MongoDB Java?

I am trying to update a field which will be the product of a field and a number. the result is coming as a float in the db but I want it to be an integer. How do I do it?

    final Bson update = set("percent_view", new BasicDBObject("$multiply", Arrays.asList("$viewtime", percent)));