<?php $a = "1588.2-1482.07-106.13"; $arr = explode("-",$a); $x = $arr[0] - $arr[1] - $arr[2]; $x = $x * 1; echo bcsub(bcsub($arr[0], $arr[1]), $arr[2]);
You have javascript disabled. You will not be able to edit any code.