Round float n_times to integer