Ramping Down the variable in Arduino IDE with the help of millis()??......

UKHeliBob:
Oh yes it can if the variables are declared static so that they retain their value between calls to the function.

Yes, but that was not what he did.