b2m-utils 0.0.203 → 0.0.204

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -371,8 +371,8 @@ var calculateFee = function (ratecardLaneFee, cte, allFees, debug, allFeesForCal
371
371
  var firstTotal = +totalValueFromAllFees / +valueToDivide;
372
372
  var total = +firstTotal * +value;
373
373
  var totalValueFromAllFeesCurrency = convertNumberToCurrency(+totalValueFromAllFees, 'pt-br');
374
- totalFee = total;
375
374
  var truncatedTo3Decimals = Math.floor(total * 1000) / 1000;
375
+ totalFee = truncatedTo3Decimals;
376
376
  totalToCalc = Number(truncatedTo3Decimals.toFixed(2));
377
377
  var resultCurrency = (+totalToCalc).toLocaleString('pt-BR', {
378
378
  style: 'currency',
Binary file