You are here: Re: [PHP] Help: Get the value of pi up to 200+ digits? « PHP « IT news, forums, messages
Re: [PHP] Help: Get the value of pi up to 200+ digits?

Posted by "Wong HoWang" on 10/20/88 11:25

but my server configure don't have bcmath enabled, is there any other way to
do so?

"Torgny Bjers" <torgny@xorcode.com> wrote:431700BE.3080308@xorcode.com...
> Wong HoWang wrote:
>> Dear all,
>>
>> I'm trying to do like this but failed:
>>
>> <?php
>> ini_set('precision',16);
>> echo pi();
>> ?>
>>
>> How can I get more digits after . ?
>
> I am fairly sure that you have to use BCMath for this:
> http://www.php.net/manual/en/ref.bc.php
>
> Give it a go and see what happens! :)
>
> Regards,
> Torgny

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация