The Numbers generator has two distinct modes: Animate and Animate OFF.
When Animate is checked, Numbers is just a dumb counter (from Start to End). The number that is displayed cannot be accessed by another Numbers generator — Start and End are completely disassociated from Value — the number that is displayed is NOT the Value.
When you turn Animate OFF, then you have access to the Numbers generator Value.
You will learn quickly that the Numbers Value will be different things for different (other) objects.
You're talking about rotating a square by 90 degrees. To turn a Shape 90 degrees with a Numbers Generator, you need to animate (keyframe/behavior) the Numbers Value from 0 to 25... WHAT? 25 is 90 degrees for rotations because it is 25% of 360º.
So be prepared, what you expect is not always what is going on "behind the scenes".
What I mean by this is that Motion's user interface displays parameter values in a way we can relate to, but underneath, at the "programming level", these values can be saved/represented in different ways. (I don't have a list... don't ask! I just try to recognize what's going on and adapting...)
When controlling other parameters with a Number Value, don't be surprised if it seems Numbers is "off" by a factor of 10 (or 100). Motion is using this "factor difference" to maintain more decimal places for accuracy. Adjustments to the Link Behavior Scale parameter may be necessary from time to time. Expect it. (Embrace it!)
Numbers (generator) can be used to discover SO MUCH about Motion. Another example would be the Oscillate behavior > Phase parameter. In the UI, it is 0, 1, 2, 3, 4, etc... but what it really is - is Radians, so if you animate an Oscillate with No Speed and simply the Phase parameter, if you go from 0 to 3.141592653589793, you will oscillate exactly ONE cycle.
You will also find that if you type in PI to 15 decimal places, you will get that accuracy (this is for any Motion number parameter value), however, the UI will only display 4 decimal places. If you select the value and type enter - basically re-entering it - you will have to manually re-enter the entire value again because Motion WILL truncate the value to the 4 decimal places displayed.
Have fun exploring! :D