Log 3808

$projectTransactions = “555,50,000”;
$values = explode(“,”, $projectTransactions);
$sum = 0;

foreach ($values as $value) {
$formattedValue = number_format($value);
$sum += (int) str_replace(‘,’, ”, $formattedValue);
}

return $sum;

Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
  • Attributes
  • Custom attributes
  • Custom fields
Click outside to hide the comparison bar
Compare