Here's the list :
?php
function salestax($price,$tax) {
function convert_pound($dollars, $conversion=1.6) {
return $dollars * $conversion;
}
$total = $price + ($price * $tax);
echo Total cost in dollars: $total. Cost in British pounds:
.convert_pound($total);
}
echo convert_pound(15);
?
I get
Here's the list :
?php
function salestax($price,$tax) {
function convert_pound($dollars, $conversion=1.6) {
return $dollars * $conversion;
}
$total = $price + ($price * $tax);
echo Total cost in dollars: $total. Cost in British pounds:
.convert_pound($total);
}
echo
Edward Kay wrote:
Here's the list :
?php
function salestax($price,$tax) {
function convert_pound($dollars, $conversion=1.6) {
return $dollars * $conversion;
}
$total = $price + ($price * $tax);
echo Total cost in dollars: $total. Cost in British pounds:
.convert_pound($total);
}
echo
Edward Kay wrote:
Here's the list :
?php
function salestax($price,$tax) {
function convert_pound($dollars, $conversion=1.6) {
return $dollars * $conversion;
}
$total = $price + ($price * $tax);
echo Total cost in dollars: $total. Cost in British pounds:
.convert_pound($total);
}
echo
?php
function salestax($price,$tax) {
function convert_pound($dollars, $conversion=1.6) {
return $dollars * $conversion;
}
$total = $price + ($price * $tax);
echo Total cost in dollars: $total. Cost in British pounds:
.convert_pound($total);
}
salestax(15.00,.075);
echo br / .
5 matches
Mail list logo