Re[2]: [PHP] Repeating Decimals
| From: | Tom Rogers | Date: | Sat, 07 Dec 2002 04:26:51 +0000 |
| Subject: | Re[2]: [PHP] Repeating Decimals | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127360@lists.php.net to get a copy of this message | ||
Hi,
Saturday, December 7, 2002, 6:36:18 AM, you wrote:
S> How would I run the functions though and then print the repeating decimal to
S> the screen?
The function returns the string ready to print
You will need to comment out the echo $s line, it was there for debugging.
just do <?php echo repeat($nuber to check)?> where ever you need it
--
regards,
Tom