IsInteger

edit

IsInteger

Namespace

Summary== Determines if a number is an integer ==Unit Test==[Fact] public void IsInteger_Should_Return_True_For_3() { Assert.True("3".IsInteger()); } [Fact] public void IsInteger_ShouldReturn_True_For_Neg3() { Assert.True("-3".IsInteger()); } [Fact] public void IsInteger_ShouldReturn_False_For_3Point3() { Assert.False("3.3".IsInteger()); } ==Comments

SubSonic 3.0 implements this as an extension method - 2.x uses a static method on SubSonic.Sugar.Numeric.