Home
last modified time | relevance | path

Searched defs:scale (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java236 private final int scale; // Note: this may have any value, so field in BigDecimal
356 BigDecimal(BigInteger intVal, long val, int scale, int prec) { in BigDecimal()
926 int scale = 0; in BigDecimal() local
1016 public BigDecimal(BigInteger unscaledVal, int scale) { in BigDecimal()
1038 public BigDecimal(BigInteger unscaledVal, int scale, MathContext mc) { in BigDecimal()
1104 int scale = 0; in BigDecimal() local
1150 int scale = 0; in BigDecimal() local
1199 public static BigDecimal valueOf(long unscaledVal, int scale) { in valueOf()
1228 static BigDecimal valueOf(long unscaledVal, int scale, int prec) { in valueOf()
1238 static BigDecimal valueOf(BigInteger intVal, int scale, int prec) { in valueOf()
[all …]
DMutableBigInteger.java201 BigDecimal toBigDecimal(int sign, int scale) { in toBigDecimal()
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetMetaDataTest.java279 int scale = 3; in testGetPrecision() local
346 int scale = 3; in testGetScale() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigDecimalConvertTest.java470 int scale = 12; in testValueOfNegScalePos() local
481 int scale = -12; in testValueOfNegScaleNeg() local
492 int scale = 12; in testValueOfPosScalePos() local
503 int scale = -12; in testValueOfPosScaleNeg() local
/libcore/ojluni/src/main/java/javax/sql/
DRowSetMetaData.java193 void setScale(int columnIndex, int scale) throws SQLException; in setScale()
DRowSet.java1281 void setObject(String parameterName, Object x, int targetSqlType, int scale) in setObject()
/libcore/ojluni/src/main/java/java/sql/
DCallableStatement.java137 void registerOutParameter(int parameterIndex, int sqlType, int scale) in registerOutParameter()
301 BigDecimal getBigDecimal(int parameterIndex, int scale) in getBigDecimal()
695 void registerOutParameter(String parameterName, int sqlType, int scale) in registerOutParameter()
1125 void setObject(String parameterName, Object x, int targetSqlType, int scale) in setObject()
/libcore/luni/src/main/java/javax/xml/datatype/
DDuration.java938 int scale = bd.scale(); in toString() local
/libcore/luni/src/test/java/libcore/java/math/
DBigDecimalTest.java127 private static void checkDivide(String expected, long n, long d, int scale, RoundingMode rm) { in checkDivide()
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DFileTime.java208 private static long scale(long d, long m, long over) { in scale() method in FileTime