-
Notifications
You must be signed in to change notification settings - Fork 166
Math
Dmitriy Zayceff edited this page Apr 29, 2015
·
2 revisions
You can use the all math functions from Zend PHP in JPHP. The core contains the all functions.
cos();
sin();
tan();
ceil();
floor();
...
.. etcHowever, there is an util class for numbers in JPHP: php\lib\Number, it has many useful methods:
-
decbin->Number::toBin -
decoct->Number::toOctal -
dechex->Number::toHex -
base_convert->Number::toString -
number_format->Number::format
JPHP Group 2015