diff --git a/SharpNBT/Tags/DoubleTag.cs b/SharpNBT/Tags/DoubleTag.cs index d9e1bfa..f745c66 100644 --- a/SharpNBT/Tags/DoubleTag.cs +++ b/SharpNBT/Tags/DoubleTag.cs @@ -29,7 +29,7 @@ namespace SharpNBT } /// - public override string ToString() => $"TAG_Double({PrettyName}): {Value}"; + public override string ToString() => $"TAG_Double({PrettyName}): {Value:0.0}"; /// /// Implicit conversion of this tag to a . diff --git a/SharpNBT/Tags/FloatTag.cs b/SharpNBT/Tags/FloatTag.cs index 23dc26a..a7025ea 100644 --- a/SharpNBT/Tags/FloatTag.cs +++ b/SharpNBT/Tags/FloatTag.cs @@ -28,7 +28,7 @@ namespace SharpNBT } /// - public override string ToString() => $"TAG_Float({PrettyName}): {Value}"; + public override string ToString() => $"TAG_Float({PrettyName}): {Value:0.0}"; /// /// Implicit conversion of this tag to a .