示例#1
0
  public static Decimal9Holder getDecimal9Holder(int decimal, int scale, int precision) {
    Decimal9Holder dch = new Decimal9Holder();

    dch.scale = scale;
    dch.precision = precision;
    dch.value = decimal;

    return dch;
  }
 @Override
 public void addInt(int value) {
   holder.value = value;
   writer.write(holder);
 }