/*! For license information please see 271497e280fc79153f1f116370b30522.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/271497e280fc79153f1f116370b30522"],{"./src/common/money.ts":function(r,a){var t=function smallToBig(r){var a=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"];var t=["","拾","佰","仟"];var e=["","万","亿","兆"];var s=["角","分","毫","厘"];var v="整";var n="元";var f=1e15;var i="";var u;if(r==""){return""}r=parseFloat(r);if(r>=f){return"超出最大处理数字"}if(r==0){i=a[0]+n+v;return i}r=Math.round(r*100).toString();var o=r.substr(0,r.length-2);var l=r.substr(r.length-2);if(parseInt(o,10)>0){var b=0;var c=o.length;for(var p=0;p<c;p++){var m=o.substr(p,1);var g=c-p-1;var h=g/4;var w=g%4;if(m=="0"){b++}else{if(b>0){i+=a[0]}b=0;i+=a[parseInt(m)]+t[w]}if(w==0&&b<4){i+=e[h]}}i+=n}if(l!=""){var d=l.length;for(var k=0;k<d;k++){var x=l.substr(k,1);if(x!="0"){i+=a[Number(x)]+s[k]}}}if(i==""){i+=a[0]+n+v}else if(l==""||/^0*$/.test(l)){i+=v}return i};a["default"]=t}}]);