Home | History | Annotate | Download | only in unicode

Lines Matching full:rounding

204  *     <td>'1' through '9' indicate rounding.
365 * indicate a rounding increment.
410 * fraction digits</em>, then rounding is performed to the
413 * by specifying a rounding increment and/or a rounding mode.
629 * <p><strong>Rounding</strong>
631 * <p>DecimalFormat supports rounding to a specific increment. For
633 * nearest 0.65 is 1.3. The rounding increment may be specified through the API
634 * or in a pattern. To specify a rounding increment in a pattern, include the
635 * increment in the pattern itself. "#,#50" specifies a rounding increment of
636 * 50. "#,##0.05" specifies a rounding increment of 0.05.
638 * <p>In the absense of an explicit rounding increment numbers are
642 * <li>Rounding only affects the string produced by formatting. It does
645 * <li>A <em>rounding mode</em> determines how values are rounded; see
646 * DecimalFormat::ERoundingMode. The default rounding mode is
647 * DecimalFormat::kRoundHalfEven. The rounding mode can only be set
650 * <li>Some locales use rounding in their currency formats to reflect the
653 * <li>In a pattern, digits '1' through '9' specify rounding, but otherwise
671 * Rounding mode.
1372 * Get the rounding increment.
1373 * @return A positive rounding increment, or 0.0 if a custom rounding
1383 * Set the rounding increment. In the absence of a rounding increment,
1385 * @param newValue A positive rounding increment, or 0.0 to
1386 * use the default rounding increment.
1396 * Get the rounding mode.
1397 * @return A rounding mode
1406 * Set the rounding mode.
1407 * @param roundingMode A rounding mode
2192 // get the currency rounding with respect to currency usage