if (typeof MathCaltools == 'undefined') { MathCaltools = {}; } MathCaltools.commonTools = [ { exp: '+', title: '+', msg: '加' }, { exp: '-', title: '-', msg: '减' } , { exp: '*', title: '×', msg: '乘' } , { exp: '/', title: '÷', msg: '除' } , { exp: '()', title: '( )', msg: '括号', step:-1 }, { exp:'FormMath.abs()', title:'|x|', msg:'绝对值', step:-1 }, { exp:'FormMath.round()', title:'≈', msg:'四舍五入', step:-1 }, { exp:'FormMath.sqrt()', title:'开方', msg:'开平方', step:-1 } , { exp:'FormMath.tofixed(,2)', title:'保留', msg:'保留小数点后2位', step:-3 } , { exp:'FormMath.convertCurrency()', title:'RMB', msg:'显示为人民币大写', step:-1 } ]; MathCaltools.subTableTools = [ { exp:'FormMath.sum()', title:'∑', msg:'求和', step:-1 }, { exp:'FormMath.max()', title:'Max', msg:'取最大值', step:-1 }, { exp:'FormMath.min()', title:'Min', msg:'取最小值', step:-1 }, { exp:'FormMath.average()', title:'均值', msg:'取平均值', step:-1 } ];