Is there anyway to test whether a 'double' contains a decimal point?