Skip to content
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();
...
.. etc

However, 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
Clone this wiki locally