Examples of currencyDigits()


Examples of com.ibm.icu.text.CurrencyMetaInfo.currencyDigits()

   * @return a non-negative number of fraction digits to be displayed
   * @stable ICU 2.2
   */
  public int getDefaultFractionDigits() {
    CurrencyMetaInfo info = CurrencyMetaInfo.getInstance();
    CurrencyDigits digits = info.currencyDigits(isoCode);
    return digits.fractionDigits;
  }

  /**
   * Returns the rounding increment for this currency, or 0.0 if no rounding is done by this currency.
View Full Code Here

Examples of com.ibm.icu.text.CurrencyMetaInfo.currencyDigits()

   * @return the non-negative rounding increment, or 0.0 if none
   * @stable ICU 2.2
   */
  public double getRoundingIncrement() {
    CurrencyMetaInfo info = CurrencyMetaInfo.getInstance();
    CurrencyDigits digits = info.currencyDigits(isoCode);

    int data1 = digits.roundingIncrement;

    // If there is no rounding return 0.0 to indicate no rounding.
    // This is the high-runner case, by far.
View Full Code Here

Examples of com.ibm.icu.text.CurrencyMetaInfo.currencyDigits()

     * displayed
     * @stable ICU 2.2
     */
    public int getDefaultFractionDigits() {
        CurrencyMetaInfo info = CurrencyMetaInfo.getInstance();
        CurrencyDigits digits = info.currencyDigits(isoCode);
        return digits.fractionDigits;
    }

    /**
     * Returns the rounding increment for this currency, or 0.0 if no
View Full Code Here

Examples of com.ibm.icu.text.CurrencyMetaInfo.currencyDigits()

     * @return the non-negative rounding increment, or 0.0 if none
     * @stable ICU 2.2
     */
    public double getRoundingIncrement() {
        CurrencyMetaInfo info = CurrencyMetaInfo.getInstance();
        CurrencyDigits digits = info.currencyDigits(isoCode);

        int data1 = digits.roundingIncrement;

        // If there is no rounding return 0.0 to indicate no rounding.
        // This is the high-runner case, by far.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.