Need help configuring a workflow to sum up line item fields

Round values with advanced format {0:C} for currency output or {0:n2} decimal.

I did use {0:C} with a replace text on $ to do same as {0:n2}.

I would ask whether your datalink values are correct, but a comparison usually requires some rounding to validate .