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

◆ IsInteger()

static bool System.Xml.Xsl.XPathConvert.IsInteger ( double dbl,
out int value )
inlinestatic

Definition at line 1713 of file XPathConvert.cs.

1714 {
1715 if (!IsSpecial(dbl))
1716 {
1717 int num = (int)dbl;
1718 double num2 = num;
1719 if (dbl == num2)
1720 {
1721 value = num;
1722 return true;
1723 }
1724 }
1725 value = 0;
1726 return false;
1727 }
static bool IsSpecial(double dbl)

References System.Xml.Dictionary, System.Xml.Xsl.XPathConvert.IsSpecial(), and System.value.

Referenced by System.Xml.Xsl.XPathConvert.DoubleToString().