Searched refs:max_val (Results 1 – 1 of 1) sorted by relevance
888 def percentage_to_amount(min_val, max_val, percentage): argument894 closest_int = round(max_val * percentage / 100)898 closest_int = min(closest_int, max_val)907 min_val=min_dl_rbs, max_val=max_rbs, percentage=dl)930 min_val=min_ul_rbs, max_val=max_rbs, percentage=ul)