def convert_floats_to_ints(in_floats, multiplier):
return [int(round(x * multiplier)) for x in in_floats]<EOL>
Convert floating points to integers using a multiplier.

    :param in_floats: the input floats
    :param multiplier: the multiplier to be used for conversion. Corresponds to the precisison.
    :return the array of integers encoded