程序包 com.sh.util

类 IntegerUtil

java.lang.Object
com.sh.util.IntegerUtil

public class IntegerUtil extends Object
Description: 整形工具类 Title:首亨软件 - CRM、TSS、ERP等信息化管理软件
  • 构造器详细资料

    • IntegerUtil

      public IntegerUtil()
  • 方法详细资料

    • format

      public static String format(Integer i, String f)
      格式化整形数据
      参数:
      i - Integer
      f - String
      返回:
      String
    • intValue

      public static int intValue(String s)
    • intValue

      public static int intValue(String s, int defaultValue)
      转化为整形
      参数:
      s - String
      defaultValue - int
      返回:
      int
    • toString

      public static String toString(Integer i)
      转化整形数据
      参数:
      i - Integer
      返回:
      String