Package com.ibm.icu.text.CurrencyMetaInfo

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;
  }
View Full Code Here


   * @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

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

     * @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

Related Classes of com.ibm.icu.text.CurrencyMetaInfo.CurrencyDigits

Copyright © 2018 www.massapicom. 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.