s="prettyprint">        Assert.AreEqual( 5, 5.0 );</pre>
</p>

<h4>Comparing Floating Point Values</h4>

<p>Values of type float and double are normally compared using an additional
argument that indicates a tolerance within which they will be considered
as equal. Beginning with NUnit 2.4.4, the value of
<b>GlobalSettings.DefaultFloatingPointTolerance</b> is used if a third argument
is not provided. In earlier versions, or if the default has not been set,
values are tested for exact equality.

<p>Special va