i cant get rotation prametrs ( dont work true )

what is my problem in the under code

private float angle ;

voide update () {

angle = transform.rotation.toeuler().x

}

this x dont looklike real x in unity editor

example - if im mye editor x = 90 angle value = 0.36574...

The mapping between quaternions and euler angles is underspecified. Use `transform.eulerAngles` (or, depending on what exactly you want, `transform.localEulerAngles`) instead.