Lines Matching refs:whole
29 * the whole number, numerator and, denominator can be configured.
31 * Minus signs are only allowed in the whole number part - i.e.,
43 /** The format used for the whole number. */
48 * the whole, numerator, and denominator.
56 * whole, numerator, and denominator.
57 * @param format the custom format for the whole, numerator, and
66 * of the whole, numerator, and denominator.
67 * @param wholeFormat the custom format for the whole.
97 BigInteger whole = num.divide(den);
100 if (!BigInteger.ZERO.equals(whole)) {
101 getWholeFormat().format(whole, toAppendTo, pos);
115 * Access the whole format.
116 * @return the whole format.
126 * Minus signs are only allowed in the whole number part - i.e.,
147 // parse whole
148 BigInteger whole = parseNextBigInteger(source, pos);
149 if (whole == null) {
215 boolean wholeIsNeg = whole.compareTo(BigInteger.ZERO) < 0;
217 whole = whole.negate();
219 num = whole.multiply(den).add(num);
229 * Modify the whole format.
230 * @param format The new whole format value.