ShikkurDude
Programmer
I have the following routine for validating whether a number's an integer:
The problem is it returns TRUE for "9.00" and I must have any non-integer return FALSE.
Any ideas, please?
Thanks,
E.
Code:
Private Function isInteger(ByRef inputNumber As Double) As Boolean
If inputNumber.ToString - CInt(inputNumber) <> 0 Then
Return False
Else
Return True
End If
End Function
Any ideas, please?
Thanks,
E.