Quaternion::ToString Method

Returns a string that represents this quaternion.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
virtual String^ ToString() override

Return Value

Type: System::String
The string representation of this quaternion.

The numeric values in the returned string are formatted by using the conventions of the current culture. For example, for the en-US culture, the returned string might appear as {X:1.1 Y:2.2 Z:3.3 W:4.4}.

Show: