For future reference, if you add a action to an object (like Add-to or Subtract-from), in the object expression helper window one of the types you can select is 'System'. This has a whole range of functions you can choose from like floor, max, min, etc.