Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.
SamMousa edited this page Aug 18, 2012 · 2 revisions

Welcome to the cakephp2-math-evaluator wiki!

The following operators are supported in version 0.1:

Binary

      • / ^

Unary -

Furthermore brackets are supported.

Priorities are obeyed in the following order from lowest to highest

static private $precedences = array( 'sentinel', 'binary.+', 'binary.-', 'unary.-', 'binary.*', 'binary./', 'binary.^' );

Clone this wiki locally