mirror of
https://github.com/oliverbooth/VpSharp
synced 2024-11-23 00:28:48 +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>
|
/// <summary>
|
||||||
/// Represents a set of coordinates.
|
/// 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>
|
/// <returns>A <see cref="string" /> representation of these coordinates.</returns>
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
{
|
{
|
||||||
return ToString("{0}");
|
return ToString("{0}", CultureInfo.InvariantCulture);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -178,7 +178,7 @@ public readonly struct Rotation : IEquatable<Rotation>, IFormattable
|
|||||||
/// <returns>A <see cref="string" /> representation of these coordinates.</returns>
|
/// <returns>A <see cref="string" /> representation of these coordinates.</returns>
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
{
|
{
|
||||||
return ToString("{0}");
|
return ToString("{0}", CultureInfo.CurrentCulture);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user