Clamping floating numbers in Python?,"max(min(my_value, max_value), min_value)"