My favorite way is to use the math Min function where one input is the new value with deltatime added onto it, and the other input is the maximum the value is allowed to be. This works great because Min always picks the smaller of the two. So then I just set the value to the output of that Min.