Edit Math


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: