how can we use modulus operator with double type variables