MathExtensionsTests Round Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Extensions
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public static void Round()
Examples

[Test]
public static void Round()
{
    Assert.AreEqual(1, 1.25f.Round());
    Assert.AreEqual(10, 9.68f.Round());
    Assert.AreEqual(1.23f, 1.2345f.Round(2));
}
See Also