Help with rotation float numbers

I have a rotation from a character that I put in a variable and I’m trying to subtract an amount of degrees so that I can the rotation of the character. How do I do that?

I toke the rotation from the character then split it from the z axis so now its a float.

I tried using the subtract float from float node, but it didn’t work

Any help is appreciated, thanks

After you break the rotation, you can do math on each axis then make a new rotator like so:

Or just split the pins on the set rotation node or whatever by right clicking rotation pin and hit split pin struct, then you can wire each float in.