Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ToString() [10/20]

static string System.Xml.XmlConvert.ToString ( double value)
inlinestatic

Definition at line 587 of file XmlConvert.cs.

588 {
589 if (double.IsNegativeInfinity(value))
590 {
591 return "-INF";
592 }
593 if (double.IsPositiveInfinity(value))
594 {
595 return "INF";
596 }
598 {
599 return "-0";
600 }
601 return value.ToString("R", NumberFormatInfo.InvariantInfo);
602 }
static bool IsNegativeZero(double value)

References System.Globalization.NumberFormatInfo.InvariantInfo, System.Xml.XmlConvert.IsNegativeZero(), and System.value.