MathExtensionsTests NearestMultiple 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 void NearestMultiple()
Examples

[Test]
public void NearestMultiple()
{
    Assert.AreEqual(640, 640.GetNearestMultiple(8));
    Assert.AreEqual(648, 650.GetNearestMultiple(8));
    Assert.AreEqual(1235, 1267.GetNearestMultiple(65));
}
See Also