karthikeyan wrote:
> Dear All,
>
>
>
> Here is my problem.
>
>
>
> $price = "19.99";
>
> $special_offer = "59.40";
>
> $period = "10";
>
> $temp = $period * $price;
> $temp = $temp - $price;
> $temp = $temp + $special_offer;
> $hosting_price = $temp;
>
>
>
>
>
>
Dear All,
Here is my problem.
$price = "19.99";
$special_offer = "59.40";
$period = "10";
$temp = $period * $price; $temp =
$temp - $price; $temp = $temp + $special_offer;
$hosting_price = $temp;
Here $hosting_price displays 239.31 which is
fine.
But when $period is