Skip to Content
avatar image
Former Member

Division by zero

I have the following formula, I get the Division by zero errors message. The SThous, OT1hours , or OT2hours , any of them could be zero, but at least one of them is not zero.

if {Employee.qHourSal} = "H"


(({@STHours} + {@OT1Hours} + {@OT2Hours}) * {PayrollEarnings.qSTRate}) +{@Benefits}*(({@STHours} + {@OT1Hours} + {@OT2Hours})/({@STHours} + 1.5*{@OT1Hours} + 2*{@OT2Hours})) + {@AddlComp}


// S {@STWages} + {@Benefits} + {@AddlComp}

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer