I understand the not dividing by zero issue, but can't get the following to work without the over/underflow error (the calculation works as intended though):
if (IBW ne 0 & HasValue(IBW) & (Actual_weight/IBW > 1.19) then
IBW+(0.4(Actual_weight - IBW))
elseif
(IBW ne 0 & HasValue(IBW) & (Actual_weight/IBW) < 1.19) then
ODW.rawValue = "NA"
endif
I'd appreciate any help!
Thanks,
Sarah