fengxiang
2018-06-15 565f5b26ee306966f0b4b9447b7a8f9b04a9fe00
src/app/business/services/util/tools.service.ts
@@ -28,8 +28,8 @@
                 }
                );
      }
      public static toThousands(num: string): string {
        var num = (num || 0).toString(), result = '';
      public static toThousands(number: string): string {
        let num = (number || 0).toString(), result = '';
        while (num.length > 3) {
            result = ',' + num.slice(-3) + result;
            num = num.slice(0, num.length - 3);