Whoever implemented the angles in unity was EVIL!
So if the value in the inspector is zero, the transform.z is also 0, and if in the inspector it's 180, the one in the transform is 1; so the 90 in the inspector must be 0.5, and -90 must be -0.5, right? NOPE! They're both 0.7071068. :P