Rotating and object to a specific setting

So I am a little confused. I have looked at the scripting reference for rotation and everything seems to have to do with moving and object around in a loop.

I simply want to take and object and reset its rotation to 0, 0, 0.

I may be looking at the wrong thing but if someone could help pout that would be great.

Read and Ye shall find I guess.
I believe the answer to my question is:
transform.localEulerAngles = new Vector3( 0,0, 0);