Posted by Oliver Grδtz on 10/10/08 11:25
Wong HoWang schrieb:
> but my server configure don't have bcmath enabled, is there any other way to
> do so?
Since the internal routines of PHP have limited precision, you these
options:
- Find a way to activate bcmath (not likely to happen on a shared
hosting account)
- Find an external program that you can install and use (if you have
shared hosting an ssh, you can probably install a command line version
of bcmath)
- find a web service (http://de.php.net/soap) that solves the problem
(perhaps kind of overkill)
- DIY (do it yourself). Implement an arbitrary precision PI algorithm in
PHP (or perhaps somebody has already done this).
AllOLLi
____________
"It's just sex, it's totally harmless."
[Gabrielle on DH109]
[Back to original message]
|