decimal point movement...
| From: | Christopher Allen | Date: | Thu, 18 Jan 2001 18:35:05 +0000 |
| Subject: | decimal point movement... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-35412@lists.php.net to get a copy of this message | ||
Greetings!
I am looking for an efficeient way to assign a decimal to a number and store
the new number.
I wanto add a decimal point after the first 2 leading digitis..
while ( query runs)
{
$temp=007170;
$changed_to_deicmal_form; // would store .7170
}
Furthermore I was using printf to round up numbers...has anyone found a
different or better way?
Christopher C. M. Allen