mirror of
https://github.com/oliverbooth/VpSharp
synced 2024-11-09 22:55:42 +00:00
Specify culture when formatting
This commit is contained in:
parent
ca0769faeb
commit
2b80c4c8c5
@ -1,4 +1,6 @@
|
||||
namespace VpSharp;
|
||||
using System.Globalization;
|
||||
|
||||
namespace VpSharp;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a set of coordinates.
|
||||
@ -188,7 +190,7 @@ public readonly partial struct Coordinates : IEquatable<Coordinates>, IFormattab
|
||||
/// <returns>A <see cref="string" /> representation of these coordinates.</returns>
|
||||
public override string ToString()
|
||||
{
|
||||
return ToString("{0}");
|
||||
return ToString("{0}", CultureInfo.InvariantCulture);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -178,7 +178,7 @@ public readonly struct Rotation : IEquatable<Rotation>, IFormattable
|
||||
/// <returns>A <see cref="string" /> representation of these coordinates.</returns>
|
||||
public override string ToString()
|
||||
{
|
||||
return ToString("{0}");
|
||||
return ToString("{0}", CultureInfo.CurrentCulture);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user