In reply to prashant.kaushik:
But how do we constrain it? You are constraining the integer not the real value.