All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.squarespace.cldr.numbers._CurrencyUtil Maven / Gradle / Ivy

//
//
// AUTO-GENERATED CLASS - DO NOT EDIT
//
//
package com.squarespace.cldr.numbers;

import com.squarespace.cldr.CLDR;

public class _CurrencyUtil {
  public static int getCurrencyDigits(CLDR.Currency code) {
    switch (code) {
      case ADP: return 0;
      case AFN: return 0;
      case ALL: return 0;
      case AMD: return 0;
      case BHD: return 3;
      case BIF: return 0;
      case BYN: return 2;
      case BYR: return 0;
      case CAD: return 2;
      case CHF: return 2;
      case CLF: return 4;
      case CLP: return 0;
      case COP: return 0;
      case CRC: return 2;
      case CZK: return 2;
      case DJF: return 0;
      case ESP: return 0;
      case GNF: return 0;
      case GYD: return 0;
      case HUF: return 2;
      case IDR: return 0;
      case IQD: return 0;
      case IRR: return 0;
      case ISK: return 0;
      case ITL: return 0;
      case JOD: return 3;
      case JPY: return 0;
      case KMF: return 0;
      case KPW: return 0;
      case KRW: return 0;
      case KWD: return 3;
      case LAK: return 0;
      case LBP: return 0;
      case LUF: return 0;
      case LYD: return 3;
      case MGA: return 0;
      case MGF: return 0;
      case MMK: return 0;
      case MNT: return 0;
      case MRO: return 0;
      case MUR: return 0;
      case OMR: return 3;
      case PKR: return 0;
      case PYG: return 0;
      case RSD: return 0;
      case RWF: return 0;
      case SLL: return 0;
      case SOS: return 0;
      case STD: return 0;
      case SYP: return 0;
      case TMM: return 0;
      case TND: return 3;
      case TRL: return 0;
      case TWD: return 2;
      case TZS: return 0;
      case UGX: return 0;
      case UYI: return 0;
      case UZS: return 0;
      case VND: return 0;
      case VUV: return 0;
      case XAF: return 0;
      case XOF: return 0;
      case XPF: return 0;
      case YER: return 0;
      case ZMK: return 0;
      case ZWD: return 0;
      default: return 2;
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy