{
 "hidden": false,
 "children": [{
  "configs": {"itemId": "module"},
  "expanded": true,
  "children": [{
   "configs": {"itemId": "viewport1"},
   "expanded": true,
   "children": [
    {
     "configs": {
      "itemId": "button1",
      "text": "原生js加法"
     },
     "expanded": false,
     "children": [],
     "type": "button",
     "events": {"click": "var a = 0.1;\
var b = 0.2;\
Wb.info(a+b);"}
    },
    {
     "configs": {
      "itemId": "button11",
      "text": "math处理"
     },
     "expanded": false,
     "children": [],
     "type": "button",
     "events": {"click": "var a = 0.1;\
var b = 0.2;\
Wb.info(math.format(math.add(math.bignumber(a), math.bignumber(b)), {\
  notation: 'fixed',\
  precision: 4\
}));"}
    }
   ],
   "type": "viewport"
  }],
  "type": "module"
 }],
 "roles": {"default": 1},
 "title": "mathjs示例用法",
 "iconCls": "",
 "inframe": false,
 "pageLink": ""
}