| | |
| | | } |
| | | |
| | | //largeNumFormat 大数值格式:0 默认原数值 1 按万或者(K)显示 2 按6位数以上(才转换大数值,根据情况可统一调整) |
| | | public static string GetValueDescription(int id, long value, int largeNumFormat = 1) |
| | | public static string GetValueDescription(int id, long value, int largeNumFormat = 2) |
| | | { |
| | | return GetValueDescriptionEx(id, value, largeNumFormat); |
| | | } |
| | | |
| | | public static string GetValueDescriptionEx(int id, long value, int largeNumFormat = 1) |
| | | public static string GetValueDescriptionEx(int id, long value, int largeNumFormat = 2) |
| | | { |
| | | var config = Get(id); |
| | | if (config == null) |