distinguish between ints and doubles