type checks for decimal fractions