diff --git a/VpSharp/src/Coordinates.cs b/VpSharp/src/Coordinates.cs index 04c1608..a0b2d9d 100644 --- a/VpSharp/src/Coordinates.cs +++ b/VpSharp/src/Coordinates.cs @@ -216,7 +216,7 @@ public readonly partial struct Coordinates : IEquatable, IFormattab /// A representation of these coordinates. public string ToString(string? format, IFormatProvider? formatProvider = null) { - format ??= "0"; + format ??= "F"; return Serializer.Serialize(this, format, formatProvider ?? CultureInfo.InvariantCulture); } } diff --git a/VpSharp/src/Rotation.cs b/VpSharp/src/Rotation.cs index c27c051..1e0d2e8 100644 --- a/VpSharp/src/Rotation.cs +++ b/VpSharp/src/Rotation.cs @@ -207,7 +207,7 @@ public readonly struct Rotation : IEquatable, IFormattable /// A representation of these coordinates. public string ToString(string? format, IFormatProvider? formatProvider = null) { - format ??= "{0}"; + format ??= "F"; string separator = NumberFormatInfo.GetInstance(formatProvider).NumberGroupSeparator; using var builder = ZString.CreateUtf8StringBuilder();