Hi
I have been trying to figure out how to do the following so it works. (in this example i could easily do it as i have with $e in the $dataline) In the script im making i lose the numbers after the decimal point, and im trying to put them back then write the data to a file ($dataline).
PHP Code:
<?php
$a = "70";
$b = "10";
$d = "55";
$e = "2.00";
$c ="" .printf ("%.2f",$e). "";
$dataline ="$a|$b|$c|$d|$e";
echo "<br>dataline = $dataline<br>";
?>
Thanks for any help you may be able to give.
Nook6
|