<?php $string = 'PRICE:384.00'; $parts = explode(":", $string); $newPrice = $parts[1] * 2; // Multiply the second value, which is 384.00 echo $parts[0].":".$newPrice;
You have javascript disabled. You will not be able to edit any code.