格式化数字显示,小数位数 /** * 不显示小数位 */ private function formatFunc(value:Number):String { return value.toFixed(0).toString(); }