evaluate a string containing a complete formula by using the js engine . concode_field_sep Logger logger concode_field_sep Float evalFormula concode_elem_sep String parseFormula
Object function ( String arg0 ) { Object loc0 = null ; if ( arg0 != null ) { try { ScriptEngine loc1 = new ScriptEngineManager ( ) . getEngineByName ( "srini_string" ) ; loc0 = loc1 . eval ( arg0 ) ; } catch ( Exception loc1 ) { loc1 . printStackTrace ( ) ; return loc0 ; } } return loc0 ; }