I also need this to evaluate multiple fields. Can I do this in one rule or do I need multiple? I tried use
MOD( Agreement_Hours_OT__c, .5)
but it didn't like the decimal.
9 respuestas
Hi Megan, You can simply write as below
AND(
NOT(ISBLANK(Agreement_Hours_OT__c)),
MOD(Agreement_Hours_OT__c * 2, 1) <> 0
)
or
you can just check the last 2 characters of the value entered into the Agrrement hours field
AND(
NOT(ISBLANK(Agreement_Hours_OT__c)),
RIGHT(TEXT(Agreement_Hours_OT__c), 2) <> ".5"
)