Rotating vector

Hi guys. I am trying to rotate FVector point(10, 0, 0) using FVector rotated = vector.RotateAngleAxis(90, FVector::UpVector).
Expected result: (0, 10, 0). I am getting {X=-1.19209290e-06 Y=9.99999905 Z=0.000000000 }. Y looks close to what is needed. But why X is negative and is not zero? What I am doing wrong? Thank you in advance.

Search for floor or round in the float session

Oh, yeah. Thank you! I saw e-06 part in number. It’s so small :slight_smile: