Re: Re[2]: [PHP] Repeating Decimals

2002-12-07 Thread Stephen
Ok, I'm getting some weird errors. Here's the website:

http://check.melchior.us/module.php?id=3

I attached the output file. What am I doing wrong!?


- Original Message -
From: Tom Rogers [EMAIL PROTECTED]
To: Stephen [EMAIL PROTECTED]
Cc: PHP List [EMAIL PROTECTED]
Sent: Friday, December 06, 2002 11:26 PM
Subject: Re[2]: [PHP] Repeating Decimals


 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


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re[2]: [PHP] Repeating Decimals

2002-12-06 Thread Tom Rogers
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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php