@Test public void testGetPrecision() throws OperationException { System.out.println("getPrecision"); PreciseNumber instance; instance = new PreciseNumber(BigDecimal.ZERO); assertEquals(38, instance.getPrecision()); instance = new PreciseNumber(BigDecimal.ZERO, 2); assertEquals(2, instance.getPrecision()); instance = new PreciseNumber(2, BigDecimal.ZERO); assertEquals(38, instance.getPrecision()); instance = new PreciseNumber(BigDecimal.ZERO, 2, 2); assertEquals(2, instance.getPrecision()); }
public int getPrecision() { return precision; }
PreciseNumber { public int getPrecision() { return precision; } }
PreciseNumber { public int getPrecision() { return precision; } PreciseNumber(BigDecimal bigDecimal);  PreciseNumber(int scale, BigDecimal bigDecimal);  PreciseNumber(BigDecimal bigDecimal, int precision);  PreciseNumber(BigDecimal bigDecimal, int precision, int scale); }
PreciseNumber { public int getPrecision() { return precision; } PreciseNumber(BigDecimal bigDecimal);  PreciseNumber(int scale, BigDecimal bigDecimal);  PreciseNumber(BigDecimal bigDecimal, int precision);  PreciseNumber(BigDecimal bigDecimal, int precision, int scale); BigDecimal getBigDecimal(); int getPrecision(); int getScale(); BigDecimal get(); }
PreciseNumber { public int getPrecision() { return precision; } PreciseNumber(BigDecimal bigDecimal);  PreciseNumber(int scale, BigDecimal bigDecimal);  PreciseNumber(BigDecimal bigDecimal, int precision);  PreciseNumber(BigDecimal bigDecimal, int precision, int scale); BigDecimal getBigDecimal(); int getPrecision(); int getScale(); BigDecimal get();  }