For arbitrary precision mathematics PHP offers the Binary Calculator which supports numbers of any size and precision, represented as strings.
Since PHP 4.0.4, libbcmath is bundled with PHP. You don't need any external libraries for this extension.
These functions are only available if PHP was configured with --enable-bcmath. In PHP 3, these functions are only available if PHP was not configured with --disable-bcmath.
גרסת ה- Windows של PHP נבנתה לתמיכה בתוספת זאת. אתה לא צריך לטעון שום תוספת נוספת על מנת להשתמש בפונקציות אלה.
ההתנהגות של פונקציות אלה מושפעות ע"י ההגדרות בתוך php.ini.
Name | Default | Changeable | Changelog |
---|---|---|---|
bcmath.scale | "0" | PHP_INI_ALL |
הנה הסבר קצר על הנחיות ההגדרה.
לתוספת זאת אין שום סוגי משאבים מוגדרים.
לתוספת זאת אין שום קבועים מוגדרים.