Help with my java script !!

basically the last line is giving me problems which is :

public static float ClampAngle (float angle, float min, float max)

code below :

        public static float ClampAngle (float angle, float min, float max)
    {
        if (angle < -360F)
            angle += 360F;
        if (angle > 360F)
            angle -= 360F;
        return Mathf.Clamp (angle, min, max);
    }

its ok guys got the answer thanks to Kourosh :)

  function ClampAngle ( angle,  min,  max): float 
    {
        if (angle < -360F)
            angle += 360F;
        if (angle > 360F)
            angle -= 360F;
        return Mathf.Clamp (angle, min, max);
    }