The calculator component in PlanX uses Math.js notation. You can find a useful list of syntax here.