job.ProductTypeId
and product.GetProductTypeKey()
are of type Integer
.
If job.ProductTypeId
is 3
and product.GetProductTypeKey()
is 4
, this should result in false
but that does not happen. Wrong implementation of IF statement?
if ((job.ProductTypeId <= product.GetProductTypeKey()) &&
(product.GetProductTypeKey() < 4))
Aucun commentaire:
Enregistrer un commentaire