Rotate vector gives wrong result

Hi, i have created a vector from the start point and the end point of a curve, and rotated that vector 90 degrees around unit Z axis. If i inspect the result, it does not seem like 90 degrees rotation. What did I do wrong?

Goddamit… its RADIANS. I see now.

Foul language is not appropriate. Also:

3. Attach minimal versions of all the relevant files