Formula: case when ({custentity222} is null and ...
# suitescript
m
Formula: case when ({custentity222} is null and {custentity223} is null) OR ({custentity222}='0' and {custentity223}='0') then to_char('0.00') else case when to_char({custentity222}-{custentity223})='0' then to_char('0.00') else to_char(round({custentity222}-{custentity223}),'999,999,999.99') end end