分类目录归档:全部列表
主体代码:functiontoChineseNumber($money){$money=round($money,2);$cnynums=array("零","壹","贰","叁","肆","伍","陆","柒","捌","玖");$cnyunits=array("圆","角","分");$cnygrees=array("拾","佰","仟","万","拾","佰","仟","亿");list($int,$dec)=explode(".",$money,2);$dec=array_filter(array($dec[1],$dec[0]));$ret=array_merge($dec,array(implode("",$this->cnyMap...
继续阅读 >