Hello everyone,
I have a basic question about number formatting.
I would to turn the results of the code below;
<?
$v4t=$totalsup*$v4/100;
?>
Into lets say from 0.9, which was the result into 9%.
What command could I use to do this. I tried using the sprintf command, but I didn't get the results I wanted.
Could I use the echo command?
Any assistance would be appreciated.
Thanks!
KJ