@Test public void testGetScale() throws OperationException { System.out.println("getScale"); PreciseNumber instance; instance = new PreciseNumber(BigDecimal.ZERO); assertEquals(0, instance.getScale()); instance = new PreciseNumber(BigDecimal.ZERO, 38); assertEquals(0, instance.getScale()); instance = new PreciseNumber(2, BigDecimal.ZERO); assertEquals(2, instance.getScale()); instance = new PreciseNumber(0, BigDecimal.ZERO); assertEquals(0, instance.getScale()); instance = new PreciseNumber(-2, BigDecimal.ZERO); assertEquals(-2, instance.getScale()); instance = new PreciseNumber(BigDecimal.ZERO, 38, 2); assertEquals(2, instance.getScale()); instance = new PreciseNumber(BigDecimal.ZERO, 38, 0); assertEquals(0, instance.getScale()); instance = new PreciseNumber(BigDecimal.ZERO, 38, -2); assertEquals(-2, instance.getScale()); }
public int getScale() { return scale; }
PreciseNumber { public int getScale() { return scale; } }
PreciseNumber { public int getScale() { return scale; } PreciseNumber(BigDecimal bigDecimal);  PreciseNumber(int scale, BigDecimal bigDecimal);  PreciseNumber(BigDecimal bigDecimal, int precision);  PreciseNumber(BigDecimal bigDecimal, int precision, int scale); }
PreciseNumber { public int getScale() { return scale; } 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 getScale() { return scale; } 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();  }