Show rotation in each axis

Hi everybody,

I have a question which is probably very simple but I might be missing something. I am not able to understand so much about the rotation differences. In my project, I am able to move and rotate object with gizmos, and when I move the object I want position and rotation values to appear in the scene. Now, the values appear but there were too much digits after comma. I was able to change the position values to show 2 digits after comma with toFixed() function but for rotation I am not able to manage it. I would appreciate if you could give me an idea about how to do it. Playground example:

Thank you so much!