[c#] How to determine if a decimal/double is an integer?