How to temporarily exceed a float limit?

Say in certain specific situations, you would like an object’s velocity to exceed a limit you scripted onto it. Such as when using a speed booster or getting a temporary speed boost when colliding off a specific object. Just wondering logic wise the most simple and efficient way to accomplish it. Would it be a series of if and else statements?

Sounds like two floats to me

  float maximum = 10;
  float boost = 0;

 var limited = Mathf.Min(current, maximum * ( 1+ boost));

Allowing you to set what the boost would be:

  boost = 0; //Normal
  boost = 0.5f; //Allow 50% more speed