Not Equal 0.00 and Equal 0.00 code question
Posted: Fri Apr 17, 2015 4:03 pm
I have attempting to use the following if statement in StimulSoft but I am unable to get the <> 0.00 and = 0.00 to work properly. Can you please let me know what I need to change within the statement below?
rptInvoiceForm.TotalTaxExt<> 0.00 && rptInvoiceForm.FOREIGNTAX.ToString()="0"
? "Tax"
:rptInvoiceForm.FreightAmt <> 0.00
? "Freight Amt"
:rptInvoiceForm.TotalTaxExt = 0.00
? "TOTAL"
:rptInvoiceForm.TotalTaxExt<> 0.00 && rptInvoiceForm.FOREIGNTAX.ToString() = "1"
?"Freight Amt"
rptInvoiceForm.TotalTaxExt<> 0.00 && rptInvoiceForm.FOREIGNTAX.ToString()="0"
? "Tax"
:rptInvoiceForm.FreightAmt <> 0.00
? "Freight Amt"
:rptInvoiceForm.TotalTaxExt = 0.00
? "TOTAL"
:rptInvoiceForm.TotalTaxExt<> 0.00 && rptInvoiceForm.FOREIGNTAX.ToString() = "1"
?"Freight Amt"